HierarchyId Class

Applies to v2.

Represents a descriptor used to access the site hierarchy.

Inheritance Hierarchy

System.Tuple<T1, T2>
  Microsoft.WebMatrix.Extensibility.HierarchyId

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public MustInherit Class HierarchyId _
    Inherits Tuple
'Usage
Dim instance As HierarchyId
public abstract class HierarchyId : Tuple
public ref class HierarchyId abstract : public Tuple
[<AbstractClassAttribute>]
type HierarchyId =  
    class 
        inherit Tuple 
    end
public abstract class HierarchyId extends Tuple

The HierarchyId type exposes the following members.

Constructors

  Name Description
Protected method HierarchyId For internal use only. Initializes a new instance of the HierarchyId class.

Top

Properties

  Name Description
Public property CurrentHierarchyGuid Gets the currently active hierarchy identifier.
Public property HierarchyInfoGuid Gets the Hierarchy Tree identifier for the item that is used to ensure that no stale items are being reused.
Public property Id Gets the identifier of the item in the hierarchy.

Top

Methods

  Name Description
Public method Equals(Object) Specifies whether the specified object is the same as the HierarchyId.
Public method Equals(Tuple<T1, T2>) Specifies whether the specified identifier is the same as the HierarchyId.
Public method GetHashCode Gets the hash code for the HierarchyId.
Public method ToString Returns the string representation of HierarchyId.

Top

Operators

  Name Description
Public operatorStatic member Equality Specifies whether the value of the hierarchy identifier and the tuple value are the same.
Public operatorStatic member Inequality Specifies whether the value of the hierarchy identifier and the tuple value are not the same.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.WebMatrix.Extensibility Namespace