Partager via


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

'Declaration
Public Function GetNodePath ( _
    itemId As Integer _
) As String
public string GetNodePath(
    int itemId
)
public:
String^ GetNodePath(
    int itemId
)
member GetNodePath : 
        itemId:int -> string
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).

.NET Framework Security

See Also

Reference

DataViewHierarchyAccessor Class

Microsoft.VisualStudio.Data Namespace