ContextLink.Equality - оператор
Обновлен: Ноябрь 2007
Determines whether two specified ContextLink objects have the same value.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink.Analysis (в Microsoft.Ink.Analysis.dll)
Синтаксис
'Декларация
Public Shared Operator = ( _
leftHand As ContextLink, _
rightHand As ContextLink _
) As Boolean
'Применение
Dim leftHand As ContextLink
Dim rightHand As ContextLink
Dim returnValue As Boolean
returnValue = (leftHand = rightHand)
public static bool operator ==(
ContextLink leftHand,
ContextLink rightHand
)
public:
static bool operator ==(
ContextLink^ leftHand,
ContextLink^ rightHand
)
J# не поддерживает перегруженные операторы.
JScript не поддерживает перегруженные операторы.
Параметры
- leftHand
Тип: Microsoft.Ink.ContextLink
A ContextLink or a nullссылка null (Nothing в Visual Basic) reference (Nothing in Visual Basic).
- rightHand
Тип: Microsoft.Ink.ContextLink
A ContextLink or a nullссылка null (Nothing в Visual Basic) reference (Nothing in Visual Basic).
Возвращаемое значение
Тип: System.Boolean
true if the value of leftHand is the same as the value of rightHand; otherwise, false.
Заметки
In situations where ContextLink objects need to be compared by value while cast to objects (such as when using the IEnumerator interface), Object.Equals should be used instead of this == operator.
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0