다음을 통해 공유


ContextLink.op_Equality Method

Determines whether two specified ContextLink objects have the same value.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    leftHand As ContextLink, _
    rightHand As ContextLink _
) As Boolean
'Usage
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
)
Not applicable.

Parameters

  • leftHand
    A ContextLink or a a null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic).
  • rightHand
    A ContextLink 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

When comparing ContextLink objects by value while casting objects (for example when using the IEnumerator interface), use Equals instead of the == 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

ContextLink Class
ContextLink Members
System.Windows.Ink Namespace