System.Xml.XPath
9 wrapped types. Load them with using { "System.Xml.XPath" }. Click a class to open it.
Extensions class static
System.Xml.XPath.Extensions · assembly System.Private.Xml.Linq
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateNavigator | CreateNavigator(value)CreateNavigator([ :node = … ])CreateNavigator([ :node = …, :nameTable = … ]) | static XPathNavigator CreateNavigator(XNode node)static XPathNavigator CreateNavigator(XNode node, XmlNameTable nameTable) |
XPathEvaluate | XPathEvaluate([ :node = …, :expression = … ])XPathEvaluate([ :node = …, :expression = …, :resolver = … ]) | static object XPathEvaluate(XNode node, string expression)static object XPathEvaluate(XNode node, string expression, IXmlNamespaceResolver resolver) |
XPathSelectElement | XPathSelectElement([ :node = …, :expression = … ])XPathSelectElement([ :node = …, :expression = …, :resolver = … ]) | static XElement XPathSelectElement(XNode node, string expression)static XElement XPathSelectElement(XNode node, string expression, IXmlNamespaceResolver resolver) |
XPathSelectElements | XPathSelectElements([ :node = …, :expression = … ])XPathSelectElements([ :node = …, :expression = …, :resolver = … ]) | static IEnumerable<XElement> XPathSelectElements(XNode node, string expression)static IEnumerable<XElement> XPathSelectElements(XNode node, string expression, IXmlNamespaceResolver resolver) |
XDocumentExtensions class static
System.Xml.XPath.XDocumentExtensions · assembly System.Xml.XPath.XDocument
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToXPathNavigable | ToXPathNavigable(p1) | static IXPathNavigable ToXPathNavigable(XNode node) |
XPathDocument class
System.Xml.XPath.XPathDocument · assembly System.Private.Xml
Implements: IXPathNavigable
Constructors
new XPathDocument(XmlReader reader) |
new XPathDocument(XmlReader reader, XmlSpace space) |
new XPathDocument(TextReader textReader) |
new XPathDocument(Stream stream) |
new XPathDocument(string uri) |
new XPathDocument(string uri, XmlSpace space) |
Ring: new XPathDocument(args) uses one constructor; the others are chosen by the parameter names: new XPathDocument().@New([ :param = value ]) or dnNew("XPathDocument",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateNavigator | callMethod("CreateNavigator",[]) | XPathNavigator CreateNavigator() |
XPathException class · extends SystemException
System.Xml.XPath.XPathException · assembly System.Private.Xml
Implements: ISerializable
Constructors
new XPathException() |
new XPathException(string message) |
new XPathException(string message, Exception innerException) |
Ring: new XPathException(args) uses one constructor; the others are chosen by the parameter names: new XPathException().@New([ :param = value ]) or dnNew("XPathException",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Message | string | read | o.getMessage() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetObjectData | GetObjectData(p1,p2) | void GetObjectData(SerializationInfo info, StreamingContext context) |
Members of the base class are inherited.
XPathExpression class abstract
System.Xml.XPath.XPathExpression · assembly System.Private.Xml
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Expression | string | read | o.Expression |
ReturnType | XPathResultType | read | o.ReturnType |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddSort | AddSort([ :expr = …, :comparer = … ])AddSort([ :expr = …, :order = …, :caseOrder = …, :lang = …, :dataType = … ]) | void AddSort(object expr, IComparer comparer)void AddSort(object expr, XmlSortOrder order, XmlCaseOrder caseOrder, string lang, XmlDataType dataType) |
Clone | callMethod("Clone",[]) | XPathExpression Clone() |
Compile | Compile(value)Compile([ :xpath = … ])Compile([ :xpath = …, :nsResolver = … ]) | static XPathExpression Compile(string xpath)static XPathExpression Compile(string xpath, IXmlNamespaceResolver nsResolver) |
SetContext | SetContext(p1) | void SetContext(XmlNamespaceManager nsManager)void SetContext(IXmlNamespaceResolver nsResolver) |
XPathItem class abstract
System.Xml.XPath.XPathItem · assembly System.Private.Xml
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsNode | bool | read | o.IsNode |
XmlType | XmlSchemaType | read | o.XmlType |
Value | string | read | o.Value |
TypedValue | object | read | o.TypedValue |
ValueType | Type | read | o.ValueType |
ValueAsBoolean | bool | read | o.ValueAsBoolean |
ValueAsDateTime | DateTime | read | o.ValueAsDateTime |
ValueAsDouble | double | read | o.ValueAsDouble |
ValueAsInt | int | read | o.ValueAsInt |
ValueAsLong | long | read | o.ValueAsLong |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ValueAs | ValueAs(value)ValueAs([ :returnType = … ])ValueAs([ :returnType = …, :nsResolver = … ]) | object ValueAs(Type returnType)object ValueAs(Type returnType, IXmlNamespaceResolver nsResolver) |
XPathNodeIterator class abstract
System.Xml.XPath.XPathNodeIterator · assembly System.Private.Xml
Implements: ICloneable, IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | XPathNavigator | read | o.Current |
CurrentPosition | int | read | o.CurrentPosition |
Count | int | read | o.Count |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | XPathNodeIterator Clone() |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator GetEnumerator() |
MoveNext | callMethod("MoveNext",[]) | bool MoveNext() |