Share via


ContextNodeCollection.Equality Operator

Determines whether two specified ContextNodeCollection objects have the same value.

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

Syntax

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

returnValue = (leftHand = rightHand)
public static bool operator ==(
    ContextNodeCollection leftHand,
    ContextNodeCollection rightHand
)
public:
static bool operator ==(
    ContextNodeCollection^ leftHand, 
    ContextNodeCollection^ rightHand
)
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the value of leftHand is the same as the value of rightHand; otherwise, false.

Remarks

In situations where ContextNodeCollection objects should be compared by value while cast to objects (for example, when using the IEnumerator interface), use Equals instead of the == operator.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

ContextNodeCollection Class

ContextNodeCollection Members

System.Windows.Ink Namespace