Udostępnij za pośrednictwem


DataViewHierarchyAccessor.GetItemIdFromNodePath(String) Method

Definition

Infers the item ID of a node in the data view hierarchy given a path to the node.

public:
 int GetItemIdFromNodePath(System::String ^ nodePath);
public int GetItemIdFromNodePath (string nodePath);
member this.GetItemIdFromNodePath : string -> int
Public Function GetItemIdFromNodePath (nodePath As String) As Integer

Parameters

nodePath
String

The path to a node.

Returns

Returns the item ID of the node in the data view hierarchy, or null if no node was found.

Exceptions

The nodePath parameter is null.

Applies to