GridLengthHelper.Equals(GridLength, GridLength) 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.
Fournit une comparaison des valeurs de deux valeurs GridLength . Le code C# doit utiliser l’opérateur Equality ou la méthode GridLength.Equals à la place.
public:
static bool Equals(GridLength target, GridLength value);
static bool Equals(GridLength const& target, GridLength const& value);
public static bool Equals(GridLength target, GridLength value);
function equals(target, value)
Public Shared Function Equals (target As GridLength, value As GridLength) As Boolean
Paramètres
- target
- GridLength
Premier GridLength à comparer.
- value
- GridLength
Deuxième GridLength à comparer.
Retours
bool
true
si les deux valeurs GridLength contiennent des valeurs équivalentes comme informations de valeur de structure ; sinon, false
.