UnicodeCharacterRange.Equality Operator
Determines whether two specified UnicodeCharacterRange objects have the same value.
Namespace: System.Windows.Ink
Assembly: IAWinFX (in IAWinFX.dll)
Syntax
'Declaration
Public Shared Operator = ( _
leftHand As UnicodeCharacterRange, _
rightHand As UnicodeCharacterRange _
) As Boolean
'Usage
Dim leftHand As UnicodeCharacterRange
Dim rightHand As UnicodeCharacterRange
Dim returnValue As Boolean
returnValue = (leftHand = rightHand)
public static bool operator ==(
UnicodeCharacterRange leftHand,
UnicodeCharacterRange rightHand
)
public:
static bool operator ==(
UnicodeCharacterRange^ leftHand,
UnicodeCharacterRange^ rightHand
)
JScript does not support overloaded operators.
Parameters
leftHand
Type: System.Windows.Ink.UnicodeCharacterRangeA UnicodeCharacterRange or a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic).
rightHand
Type: System.Windows.Ink.UnicodeCharacterRangeA UnicodeCharacterRange or a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic).
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 UnicodeCharacterRange objects need to be compared by value while cast to objects (such as when using the IEnumerator interface), Equals should be used 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