Share via


HierarchyInfo.NodeType Property

Definition

When overridden in a derived class, gets the type of node added to the hierarchy.

public:
 abstract property System::String ^ NodeType { System::String ^ get(); };
public abstract string NodeType { get; }
member this.NodeType : string
Public MustOverride ReadOnly Property NodeType As String

Property Value

The node type.

Examples

The following example gets the value of the NodeType property.

public override string NodeType
{
    get
    {
        return "DemoHierarchyInfo.MyNode";
    }
}

Remarks

You should set the NodeType property to a descriptive string that describes the custom node.

Applies to