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

Return Value

Type: System.Boolean
true if the value of the hierarchy identifier and the tuple value are the same; otherwise, false.

See Also

Reference

HierarchyId Class

Microsoft.WebMatrix.Extensibility Namespace