InputSettings.Filter Method (IXPathNavigable)InputSettings.Filter Method (IXPathNavigable)InputSettings::Filter Method (IXPathNavigable^)
Returns a new IXPathNavigableIXPathNavigableIXPathNavigable instance which Filters the specified IXPathNavigableIXPathNavigableIXPathNavigable instance according
to the current whitespace settings.
Syntax
Public Function Filter( _ document As System.Xml.XPath.IXPathNavigable _ ) As System.Xml.XPath.IXPathNavigable
public System.Xml.XPath.IXPathNavigable Filter( System.Xml.XPath.IXPathNavigable document )
public: System.Xml.XPath::IXPathNavigable^ Filter( System.Xml.XPath::IXPathNavigable^ document )
Parameters
- document
Type: System.Xml.XPath.IXPathNavigableSystem.Xml.XPath.IXPathNavigableSystem.Xml.XPath::IXPathNavigable^
The document to filter.
Return Value
Type: System.Xml.XPath.IXPathNavigableSystem.Xml.XPath.IXPathNavigableSystem.Xml.XPath::IXPathNavigable^
A new IXPathNavigableIXPathNavigableIXPathNavigable instance that represents the node as filtered by these settings.
Exceptions
Exception | Condition |
ArgumentExceptionArgumentExceptionArgumentException | document is not a top level node. |