GridLengthHelper.Equals(GridLength, GridLength) 方法

定义

提供两个 GridLength 值的比较。 C# 代码应改用 Equality 运算符或 GridLength.Equals 方法。

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

参数

target
GridLength

要比较的第一个 GridLength

value
GridLength

要比较的第二 个 GridLength

返回

Boolean

bool

true 如果两 个 GridLength 值包含等效值作为其结构值信息,否则为 false

适用于

另请参阅