GridLength.Equals Méthode

Définition

Surcharges

Equals(Object)

Détermine si l'objet spécifié est égal à l'instance GridLength actuelle.

Equals(GridLength)

Détermine si l'objet GridLength spécifié est égal à l'objet GridLength actuel.

Remarques

Ce struct représente la projection .NET du struct Windows Runtime (WinRT). GridLength Pour plus d’informations, consultez GridLength dans les informations de référence sur l’API UWP.

Equals(Object)

Détermine si l'objet spécifié est égal à l'instance GridLength actuelle.

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.

S’applique à

Equals(GridLength)

Détermine si l'objet GridLength spécifié est égal à l'objet GridLength actuel.

public:
 bool Equals(Windows::UI::Xaml::GridLength gridLength);
public bool Equals (Windows.UI.Xaml.GridLength gridLength);
override this.Equals : Windows.UI.Xaml.GridLength -> bool
Public Function Equals (gridLength As GridLength) As Boolean

Paramètres

gridLength
GridLength

Structure GridLength à comparer avec l'instance actuelle.

Retours

true si le GridLength spécifié a la même valeur et GridUnitType que l'instance actuelle ; sinon, false.

Remarques

Ce struct représente la projection .NET du struct Windows Runtime (WinRT). GridLength Pour plus d’informations, consultez GridLength dans les informations de référence sur l’API UWP.

S’applique à