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.Int32The 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.