Partager via


DataViewHierarchyAccessor.GetNodeName Method

Retrieves the display name of a specified node.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Function GetNodeName ( _
    itemId As Integer _
) As String
public string GetNodeName(
    int itemId
)
public:
String^ GetNodeName(
    int itemId
)
member GetNodeName : 
        itemId:int -> string
public function GetNodeName(
    itemId : int
) : String

Parameters

  • itemId
    Type: System.Int32

    The item ID of the node for which the name is retrieved.

Return Value

Type: System.String
Returns the string literal display name of the specified node.

Exceptions

Exception Condition
ArgumentException

The specified itemId is invalid.

.NET Framework Security

See Also

Reference

DataViewHierarchyAccessor Class

Microsoft.VisualStudio.Data Namespace