Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Infers the item ID of a node in the data view hierarchy given a path to the node.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Function GetItemIdFromNodePath ( _
nodePath As String _
) As Integer
public int GetItemIdFromNodePath(
string nodePath
)
public:
int GetItemIdFromNodePath(
String^ nodePath
)
member GetItemIdFromNodePath :
nodePath:string -> int
public function GetItemIdFromNodePath(
nodePath : String
) : int
Parameters
- nodePath
Type: System.String
The path to a node.
Return Value
Type: System.Int32
Returns the item ID of the node in the data view hierarchy, or null if no node was found.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The nodePath parameter is null. |
.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.