GridLength.Equals Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si deux GridLength structures sont égales.
Surcharges
| Nom | Description |
|---|---|
| Equals(Object) |
Détermine si l’objet spécifié est égal à l’instance actuelle GridLength . |
| Equals(GridLength) |
Détermine si le spécifié GridLength est égal à l’actuel GridLength. |
Equals(Object)
Détermine si l’objet spécifié est égal à l’instance actuelle GridLength .
public:
override bool Equals(System::Object ^ oCompare);
public override bool Equals(object oCompare);
override this.Equals : obj -> bool
Public Overrides Function Equals (oCompare As Object) As Boolean
Paramètres
- oCompare
- Object
Objet à comparer à l’instance actuelle.
Retours
true si l’objet spécifié a la même valeur et GridUnitType que l’instance actuelle ; sinon, false.
Voir aussi
S’applique à
Equals(GridLength)
Détermine si le spécifié GridLength est égal à l’actuel GridLength.
public:
virtual bool Equals(System::Windows::GridLength gridLength);
public bool Equals(System.Windows.GridLength gridLength);
override this.Equals : System.Windows.GridLength -> bool
Public Function Equals (gridLength As GridLength) As Boolean
Paramètres
- gridLength
- GridLength
Structure GridLength à comparer à l’instance actuelle.
Retours
true si le spécifié GridLength a la même valeur et GridUnitType que l’instance actuelle ; sinon, false.