Document: nodeFromID

nodeFromID

Returns the node whose ID attribute matches the supplied value.

 Public Function nodeFromID(
	  ByVal idString As String ) As Element

Parameters

idString
[ByVal] String. Value of the ID to match.

Return Values

Element -  Node that matches the supplied ID. If no nodes match, this method returns Nothing.

Remarks

Only documentElement first level children can be selected.

See Also

Project VBDOM Overview Class Document Overview Document Properties Document Methods load save