다음을 통해 공유


DisplayName Property (RootNode Interface)

Topic Last Modified: 2006-06-13

The DisplayName property is the root node's display name.

Applies To

RootNode Interface

Syntax

Property DisplayName As String
HRESULT get_DisplayName(BSTR* pVal);HRESULT put_DisplayName(BSTR Val);

Parameters

  • pVal
    Returns the value of the DisplayName property as a reference to a BSTR.
  • Val
    Sets the value of the DisplayName property to the value of the BSTR.

Example

The following example illustrates the display name of the root node.

      

Dim tn As TNode
Dim rn As RootNode
Set tn = EXTV1.GetSelectedNode
Set rn = EXTV1.GetRootNode(tn.RootUrl)
MsgBox rn.DisplayName