DataViewHierarchyAccessor.GetNodePath Method

Infers a node path from the location of a node in the data view hierarchy.

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

Syntax

Public Function GetNodePath ( _
    itemId As Integer _
) As String

Dim instance As DataViewHierarchyAccessor
Dim itemId As Integer
Dim returnValue As String

returnValue = instance.GetNodePath(itemId)
public string GetNodePath(
    int itemId
)
public:
String^ GetNodePath(
    int itemId
)
public function GetNodePath(
    itemId : int
) : String

Parameters

  • itemId
    Type: System.Int32

    The item ID of the node for which the node path should be inferred.

Return Value

Type: System.String

Returns the node path for the specified item, or returns nulla null reference (Nothing in Visual Basic) if not path is available.

Exceptions

Exception Condition
ArgumentException

The specified itemId is invalid.

Remarks

This method is not implemented in Visual Studio 2005 and therefore always returns nulla null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

DataViewHierarchyAccessor Class

DataViewHierarchyAccessor Members

Microsoft.VisualStudio.Data Namespace