Breyta

Deila með


GridLength.Equals Method

Definition

Overloads

Equals(Object)

Determines whether the specified object is equal to the current GridLength instance.

Equals(GridLength)

Determines whether the specified GridLength is equal to the current GridLength.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) GridLength struct. For more information, see GridLength in the UWP API reference.

Equals(Object)

Determines whether the specified object is equal to the current GridLength instance.

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

Parameters

oCompare
Object

The object to compare with the current instance.

Returns

true if the specified object has the same value and GridUnitType as the current instance; otherwise, false.

Applies to

Equals(GridLength)

Determines whether the specified GridLength is equal to the current GridLength.

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

Parameters

gridLength
GridLength

The GridLength structure to compare with the current instance.

Returns

true if the specified GridLength has the same value and GridUnitType as the current instance; otherwise, false.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) GridLength struct. For more information, see GridLength in the UWP API reference.

Applies to