RingDotNetfor Ring

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

MethodRing call.NET overloads
CreateNavigatorCreateNavigator(value)
CreateNavigator([ :node = … ])
CreateNavigator([ :node = …, :nameTable = … ])
static XPathNavigator CreateNavigator(XNode node)
static XPathNavigator CreateNavigator(XNode node, XmlNameTable nameTable)
XPathEvaluateXPathEvaluate([ :node = …, :expression = … ])
XPathEvaluate([ :node = …, :expression = …, :resolver = … ])
static object XPathEvaluate(XNode node, string expression)
static object XPathEvaluate(XNode node, string expression, IXmlNamespaceResolver resolver)
XPathSelectElementXPathSelectElement([ :node = …, :expression = … ])
XPathSelectElement([ :node = …, :expression = …, :resolver = … ])
static XElement XPathSelectElement(XNode node, string expression)
static XElement XPathSelectElement(XNode node, string expression, IXmlNamespaceResolver resolver)
XPathSelectElementsXPathSelectElements([ :node = …, :expression = … ])
XPathSelectElements([ :node = …, :expression = …, :resolver = … ])
static IEnumerable<XElement> XPathSelectElements(XNode node, string expression)
static IEnumerable<XElement> XPathSelectElements(XNode node, string expression, IXmlNamespaceResolver resolver)
IXPathNavigable interface

System.Xml.XPath.IXPathNavigable · assembly System.Private.Xml

Methods

MethodRing call.NET overloads
CreateNavigatorcallMethod("CreateNavigator",[])XPathNavigator CreateNavigator()
XDocumentExtensions class static

System.Xml.XPath.XDocumentExtensions · assembly System.Xml.XPath.XDocument

Methods

MethodRing call.NET overloads
ToXPathNavigableToXPathNavigable(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

MethodRing call.NET overloads
CreateNavigatorcallMethod("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

NameTypeAccessIn Ring
Messagestringreado.getMessage()

Methods

MethodRing call.NET overloads
GetObjectDataGetObjectData(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

NameTypeAccessIn Ring
Expressionstringreado.Expression
ReturnTypeXPathResultTypereado.ReturnType

Methods

MethodRing call.NET overloads
AddSortAddSort([ :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)
ClonecallMethod("Clone",[])XPathExpression Clone()
CompileCompile(value)
Compile([ :xpath = … ])
Compile([ :xpath = …, :nsResolver = … ])
static XPathExpression Compile(string xpath)
static XPathExpression Compile(string xpath, IXmlNamespaceResolver nsResolver)
SetContextSetContext(p1)void SetContext(XmlNamespaceManager nsManager)
void SetContext(IXmlNamespaceResolver nsResolver)
XPathItem class abstract

System.Xml.XPath.XPathItem · assembly System.Private.Xml

Properties and fields

NameTypeAccessIn Ring
IsNodeboolreado.IsNode
XmlTypeXmlSchemaTypereado.XmlType
Valuestringreado.Value
TypedValueobjectreado.TypedValue
ValueTypeTypereado.ValueType
ValueAsBooleanboolreado.ValueAsBoolean
ValueAsDateTimeDateTimereado.ValueAsDateTime
ValueAsDoubledoublereado.ValueAsDouble
ValueAsIntintreado.ValueAsInt
ValueAsLonglongreado.ValueAsLong

Methods

MethodRing call.NET overloads
ValueAsValueAs(value)
ValueAs([ :returnType = … ])
ValueAs([ :returnType = …, :nsResolver = … ])
object ValueAs(Type returnType)
object ValueAs(Type returnType, IXmlNamespaceResolver nsResolver)
XPathNavigator class abstract · extends XPathItem

System.Xml.XPath.XPathNavigator · assembly System.Private.Xml

Implements: ICloneable, IXPathNavigable, IXmlNamespaceResolver

Properties and fields

NameTypeAccessIn Ring
IsNodeboolreado.getIsNode()
XmlTypeXmlSchemaTypereado.getXmlType()
TypedValueobjectreado.getTypedValue()
ValueTypeTypereado.getValueType()
ValueAsBooleanboolreado.getValueAsBoolean()
ValueAsDateTimeDateTimereado.getValueAsDateTime()
ValueAsDoubledoublereado.getValueAsDouble()
ValueAsIntintreado.getValueAsInt()
ValueAsLonglongreado.getValueAsLong()
NameTableXmlNameTablereado.NameTable
NodeTypeXPathNodeTypereado.NodeType
LocalNamestringreado.LocalName
Namestringreado.Name
NamespaceURIstringreado.NamespaceURI
Prefixstringreado.Prefix
BaseURIstringreado.BaseURI
IsEmptyElementboolreado.IsEmptyElement
XmlLangstringreado.XmlLang
UnderlyingObjectobjectreado.UnderlyingObject
HasAttributesboolreado.HasAttributes
HasChildrenboolreado.HasChildren
SchemaInfoIXmlSchemaInforeado.SchemaInfo
CanEditboolreado.CanEdit
OuterXmlstringread, writeo.OuterXml o.OuterXml = v
InnerXmlstringread, writeo.InnerXml o.InnerXml = v
NavigatorComparerIEqualityComparerread · statico.NavigatorComparer

Methods

MethodRing call.NET overloads
AppendChildAppendChild(NULL)
AppendChild(value)
AppendChild([ :newChild = … ])
XmlWriter AppendChild()
void AppendChild(string newChild)
void AppendChild(XmlReader newChild)
void AppendChild(XPathNavigator newChild)
AppendChildElementcallMethod("AppendChildElement",[p1,p2,p3,p4])void AppendChildElement(string prefix, string localName, string namespaceURI, string value)
CheckValidityCheckValidity(p1,p2)bool CheckValidity(XmlSchemaSet schemas, ValidationEventHandler validationEventHandler)
ClonecallMethod("Clone",[])XPathNavigator Clone()
ComparePositioncallMethod("ComparePosition",[p1])XmlNodeOrder ComparePosition(XPathNavigator nav)
CompilecallMethod("Compile",[p1])XPathExpression Compile(string xpath)
CreateAttributecallMethod("CreateAttribute",[p1,p2,p3,p4])void CreateAttribute(string prefix, string localName, string namespaceURI, string value)
CreateAttributescallMethod("CreateAttributes",[])XmlWriter CreateAttributes()
CreateNavigatorcallMethod("CreateNavigator",[])XPathNavigator CreateNavigator()
DeleteRangeDeleteRange(p1)void DeleteRange(XPathNavigator lastSiblingToDelete)
DeleteSelfcallMethod("DeleteSelf",[])void DeleteSelf()
EvaluateEvaluate(value)
Evaluate([ :xpath = … ])
Evaluate([ :expr = … ])
Evaluate([ :xpath = …, :resolver = … ])
Evaluate([ :expr = …, :context = … ])
object Evaluate(string xpath)
object Evaluate(string xpath, IXmlNamespaceResolver resolver)
object Evaluate(XPathExpression expr)
object Evaluate(XPathExpression expr, XPathNodeIterator context)
GetAttributecallMethod("GetAttribute",[p1,p2])string GetAttribute(string localName, string namespaceURI)
GetNamespacecallMethod("GetNamespace",[p1])string GetNamespace(string name)
GetNamespacesInScopecallMethod("GetNamespacesInScope",[p1])IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
InsertAfterInsertAfter(NULL)
InsertAfter(value)
InsertAfter([ :newSibling = … ])
XmlWriter InsertAfter()
void InsertAfter(string newSibling)
void InsertAfter(XmlReader newSibling)
void InsertAfter(XPathNavigator newSibling)
InsertBeforeInsertBefore(NULL)
InsertBefore(value)
InsertBefore([ :newSibling = … ])
XmlWriter InsertBefore()
void InsertBefore(string newSibling)
void InsertBefore(XmlReader newSibling)
void InsertBefore(XPathNavigator newSibling)
InsertElementAftercallMethod("InsertElementAfter",[p1,p2,p3,p4])void InsertElementAfter(string prefix, string localName, string namespaceURI, string value)
InsertElementBeforecallMethod("InsertElementBefore",[p1,p2,p3,p4])void InsertElementBefore(string prefix, string localName, string namespaceURI, string value)
IsDescendantIsDescendant(p1)bool IsDescendant(XPathNavigator nav)
IsSamePositionIsSamePosition(p1)bool IsSamePosition(XPathNavigator other)
LookupNamespacecallMethod("LookupNamespace",[p1])string LookupNamespace(string prefix)
LookupPrefixcallMethod("LookupPrefix",[p1])string LookupPrefix(string namespaceURI)
MatchesMatches(p1)bool Matches(XPathExpression expr)
bool Matches(string xpath)
MoveToMoveTo(p1)bool MoveTo(XPathNavigator other)
MoveToAttributecallMethod("MoveToAttribute",[p1,p2])bool MoveToAttribute(string localName, string namespaceURI)
MoveToChildcallMethod("MoveToChild",[p1])
callMethod("MoveToChild",[p1,p2])
bool MoveToChild(string localName, string namespaceURI)
bool MoveToChild(XPathNodeType type)
MoveToFirstcallMethod("MoveToFirst",[])bool MoveToFirst()
MoveToFirstAttributecallMethod("MoveToFirstAttribute",[])bool MoveToFirstAttribute()
MoveToFirstChildcallMethod("MoveToFirstChild",[])bool MoveToFirstChild()
MoveToFirstNamespacecallMethod("MoveToFirstNamespace",[])
callMethod("MoveToFirstNamespace",[p1])
bool MoveToFirstNamespace(XPathNamespaceScope namespaceScope)
bool MoveToFirstNamespace()
MoveToFollowingcallMethod("MoveToFollowing",[p1])
callMethod("MoveToFollowing",[p1,p2])
callMethod("MoveToFollowing",[p1,p2,p3])
bool MoveToFollowing(string localName, string namespaceURI)
bool MoveToFollowing(string localName, string namespaceURI, XPathNavigator end)
bool MoveToFollowing(XPathNodeType type)
bool MoveToFollowing(XPathNodeType type, XPathNavigator end)
MoveToIdcallMethod("MoveToId",[p1])bool MoveToId(string id)
MoveToNamespacecallMethod("MoveToNamespace",[p1])bool MoveToNamespace(string name)
MoveToNextcallMethod("MoveToNext",[])
callMethod("MoveToNext",[p1])
callMethod("MoveToNext",[p1,p2])
bool MoveToNext()
bool MoveToNext(string localName, string namespaceURI)
bool MoveToNext(XPathNodeType type)
MoveToNextAttributecallMethod("MoveToNextAttribute",[])bool MoveToNextAttribute()
MoveToNextNamespacecallMethod("MoveToNextNamespace",[])
callMethod("MoveToNextNamespace",[p1])
bool MoveToNextNamespace(XPathNamespaceScope namespaceScope)
bool MoveToNextNamespace()
MoveToParentcallMethod("MoveToParent",[])bool MoveToParent()
MoveToPreviouscallMethod("MoveToPrevious",[])bool MoveToPrevious()
MoveToRootcallMethod("MoveToRoot",[])void MoveToRoot()
PrependChildPrependChild(NULL)
PrependChild(value)
PrependChild([ :newChild = … ])
XmlWriter PrependChild()
void PrependChild(string newChild)
void PrependChild(XmlReader newChild)
void PrependChild(XPathNavigator newChild)
PrependChildElementcallMethod("PrependChildElement",[p1,p2,p3,p4])void PrependChildElement(string prefix, string localName, string namespaceURI, string value)
ReadSubtreecallMethod("ReadSubtree",[])XmlReader ReadSubtree()
ReplaceRangecallMethod("ReplaceRange",[p1])XmlWriter ReplaceRange(XPathNavigator lastSiblingToReplace)
ReplaceSelfcallMethod("ReplaceSelf",[p1])void ReplaceSelf(string newNode)
void ReplaceSelf(XmlReader newNode)
void ReplaceSelf(XPathNavigator newNode)
SelectSelect(value)
Select([ :xpath = … ])
Select([ :expr = … ])
Select([ :xpath = …, :resolver = … ])
XPathNodeIterator Select(string xpath)
XPathNodeIterator Select(string xpath, IXmlNamespaceResolver resolver)
XPathNodeIterator Select(XPathExpression expr)
SelectAncestorsSelectAncestors([ :type = …, :matchSelf = … ])
SelectAncestors([ :name = …, :namespaceURI = …, :matchSelf = … ])
XPathNodeIterator SelectAncestors(XPathNodeType type, bool matchSelf)
XPathNodeIterator SelectAncestors(string name, string namespaceURI, bool matchSelf)
SelectChildrenSelectChildren(value)
SelectChildren([ :type = … ])
SelectChildren([ :name = …, :namespaceURI = … ])
XPathNodeIterator SelectChildren(XPathNodeType type)
XPathNodeIterator SelectChildren(string name, string namespaceURI)
SelectDescendantsSelectDescendants([ :type = …, :matchSelf = … ])
SelectDescendants([ :name = …, :namespaceURI = …, :matchSelf = … ])
XPathNodeIterator SelectDescendants(XPathNodeType type, bool matchSelf)
XPathNodeIterator SelectDescendants(string name, string namespaceURI, bool matchSelf)
SelectSingleNodeSelectSingleNode(value)
SelectSingleNode([ :xpath = … ])
SelectSingleNode([ :expression = … ])
SelectSingleNode([ :xpath = …, :resolver = … ])
XPathNavigator SelectSingleNode(string xpath)
XPathNavigator SelectSingleNode(string xpath, IXmlNamespaceResolver resolver)
XPathNavigator SelectSingleNode(XPathExpression expression)
SetTypedValueSetTypedValue(p1)void SetTypedValue(object typedValue)
SetValuecallMethod("SetValue",[p1])void SetValue(string value)
ToStringcallMethod("ToString",[])string ToString()
ValueAsValueAs([ :returnType = …, :nsResolver = … ])object ValueAs(Type returnType, IXmlNamespaceResolver nsResolver)
WriteSubtreeWriteSubtree(p1)void WriteSubtree(XmlWriter writer)

Members of the base class are inherited.

XPathNodeIterator class abstract

System.Xml.XPath.XPathNodeIterator · assembly System.Private.Xml

Implements: ICloneable, IEnumerable

Properties and fields

NameTypeAccessIn Ring
CurrentXPathNavigatorreado.Current
CurrentPositionintreado.CurrentPosition
Countintreado.Count

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])XPathNodeIterator Clone()
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator GetEnumerator()
MoveNextcallMethod("MoveNext",[])bool MoveNext()