HierarchyInfo.Text Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets the name for the node.
public:
abstract property System::String ^ Text { System::String ^ get(); };
public abstract string Text { get; }
member this.Text : string
Public MustOverride ReadOnly Property Text As String
Property Value
The name for the node.
Examples
The following example implements the Text property.
public override string Text
{
get
{
if (string.IsNullOrEmpty(_sNodeName))
_sNodeName = "HierarchyInfo Demo 3";
return _sNodeName;
}
}
Remarks
The node name should be stored in a string variable if renaming is supported.