DataViewHierarchyAccessor.GetItemIdFromNodePath(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.