Share via


WsXmlNode.SelectNodes Method

Traverses the node tree to return a collection of named nodes at the same level in the tree as the specified node.

Namespace: Ws.Services.Xml
Assembly: MFWsStack (in mfwsstack.dll)

Syntax

public WsXmlNodes SelectNodes (
         string path,
         bool caseSensitive
)

Parameters

  • path
    A string representing an XML element path, delimited with '/', to the specified node.
  • caseSensitive
    Indicates whether or not path is case-sensitive.

Return Value

A collection of WsXmlNodes, if at least one node is found. If no nodes are found this value is null.

Remarks

Use '/' or './' or '.' to select a root element. Relative paths may start with the element name or '/'. Set the caseSensitive parameter to true to optimize processing.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

WsXmlNode Class
WsXmlNode Members
Ws.Services.Xml Namespace