UnicodeRange.Equality Operator
Determines whether two specified UnicodeRange objects have the same value.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Shared Operator = ( _
x As UnicodeRange, _
y As UnicodeRange _
) As Boolean
'Usage
Dim x As UnicodeRange
Dim y As UnicodeRange
Dim returnValue As Boolean
returnValue = (x = y)
public static bool operator ==(
UnicodeRange x,
UnicodeRange y
)
public:
static bool operator ==(
UnicodeRange x,
UnicodeRange y
)
JScript does not support overloaded operators.
Parameters
x
Type: Microsoft.Ink.UnicodeRangeA UnicodeRange or a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic).
y
Type: Microsoft.Ink.UnicodeRangeA UnicodeRange or a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic).
Return Value
Type: System.Boolean
true if the value of x is the same as the value of y; otherwise, false.
Remarks
In situations where UnicodeRange 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.
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
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