HierarchyId.Equality Operator
Applies to v2.
Specifies whether the value of the hierarchy identifier and the tuple value are the same.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Public Shared Operator = ( _
a As HierarchyId, _
b As Tuple _
) As Boolean
'Usage
Dim a As HierarchyId
Dim b As Tuple
Dim returnValue As Boolean
returnValue = (a = b)
public static bool operator ==(
HierarchyId a,
Tuple b
)
public:
static bool operator ==(
HierarchyId^ a,
Tuple^ b
)
static let inline(=)
a:HierarchyId *
b:Tuple : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
a
Type: Microsoft.WebMatrix.Extensibility.HierarchyIdThe hierarchy identifier value.
b
Type: System.Tuple<T1, T2>The tuple value.
Return Value
Type: System.Boolean
true if the value of the hierarchy identifier and the tuple value are the same; otherwise, false.