Compartir a través de


ContextLinkCollection.op_Equality Method

Determines whether two specified ContextLinkCollection objects have the same value.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in microsoft.ink.analysis.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    leftHand As ContextLinkCollection, _
    rightHand As ContextLinkCollection _
) As Boolean
'Usage
Dim leftHand As ContextLinkCollection
Dim rightHand As ContextLinkCollection
Dim returnValue As Boolean

returnValue = (leftHand = rightHand)
public static bool operator == (
    ContextLinkCollection leftHand,
    ContextLinkCollection rightHand
)
public:
static bool operator == (
    ContextLinkCollection^ leftHand, 
    ContextLinkCollection^ rightHand
)
Not applicable.

Parameters

  • leftHand
    A ContextLinkCollection or a a null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic).
  • rightHand
    A ContextLinkCollection or a a null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic).

Return Value

true if the value of leftHand is the same as the value of rightHand; otherwise, false.

Remarks

In situations where ContextLinkCollection objects need to be compared by value while cast to objects (such as when using the IEnumeratorIEnumerator interface), Object.EqualsObject.Equals should be used instead of this == operator.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

ContextLinkCollection Class
ContextLinkCollection Members
Microsoft.Ink Namespace