[This is preliminary documentation and is subject to change.]

The XPathObjectNavigator type exposes the following members.

Constructors

  NameDescription
Public methodXPathObjectNavigator
CTor from any Object

Methods

  NameDescription
Public methodAppendChild()()()()
Returns an XmlWriter object used to create one or more new child nodes at the end of the list of child nodes of the current node.
(Inherited from XPathNavigator.)
Public methodAppendChild(String)
Creates a new child node at the end of the list of child nodes of the current node using the XML data string specified.
(Inherited from XPathNavigator.)
Public methodAppendChild(XmlReader)
Creates a new child node at the end of the list of child nodes of the current node using the XML contents of the XmlReader object specified.
(Inherited from XPathNavigator.)
Public methodAppendChild(XPathNavigator)
Creates a new child node at the end of the list of child nodes of the current node using the nodes in the XPathNavigator specified.
(Inherited from XPathNavigator.)
Public methodAppendChildElement
Creates a new child element node at the end of the list of child nodes of the current node using the namespace prefix, local name and namespace URI specified with the value specified.
(Inherited from XPathNavigator.)
Public methodClone
When overridden in a derived class, creates a new XPathObjectNavigator positioned at the same node as this XPathObjectNavigator.
(Overrides XPathNavigator..::..Clone()()()().)
Protected methodCloneLocation
Clones Location by clonig all steps in it
Public methodComparePosition
Compares the position of the current XPathNavigator with the position of the XPathNavigator specified.
(Inherited from XPathNavigator.)
Public methodCompile
Compiles a string representing an XPath expression and returns an XPathExpression object.
(Inherited from XPathNavigator.)
Public methodCreateAttribute
Creates an attribute node on the current element node using the namespace prefix, local name and namespace URI specified with the value specified.
(Inherited from XPathNavigator.)
Public methodCreateAttributes
Returns an XmlWriter object used to create new attributes on the current element.
(Inherited from XPathNavigator.)
Public methodCreateNavigator
Returns a copy of the XPathNavigator.
(Inherited from XPathNavigator.)
Public methodDeleteRange
Deletes a range of sibling nodes from the current node to the node specified.
(Inherited from XPathNavigator.)
Public methodDeleteSelf
Deletes the current node and its child nodes.
(Inherited from XPathNavigator.)
Public methodEvaluate(String)
Evaluates the specified XPath expression and returns the typed result.
(Inherited from XPathNavigator.)
Public methodEvaluate(XPathExpression)
Evaluates the XPathExpression and returns the typed result.
(Inherited from XPathNavigator.)
Public methodEvaluate(String, IXmlNamespaceResolver)
Evaluates the specified XPath expression and returns the typed result, using the IXmlNamespaceResolver object specified to resolve namespace prefixes in the XPath expression.
(Inherited from XPathNavigator.)
Public methodEvaluate(XPathExpression, XPathNodeIterator)
Uses the supplied context to evaluate the XPathExpression, and returns the typed result.
(Inherited from XPathNavigator.)
Public methodGetAttribute
Gets the value of the attribute with the specified local name and namespace URI.
(Inherited from XPathNavigator.)
Protected methodGetFirstProperty
Finds first property of specified object lying after specified property in specified direction
Public methodGetNamespace
Returns the value of the namespace node corresponding to the specified local name.
(Inherited from XPathNavigator.)
Public methodGetNamespacesInScope
Returns the in-scope namespaces of the current node.
(Inherited from XPathNavigator.)
Public methodCheckValidity
Verifies that the XML data in the XPathNavigator conforms to the XML Schema definition language (XSD) schema provided.
(Inherited from XPathNavigator.)
Public methodInsertAfter()()()()
Returns an XmlWriter object used to create a new sibling node after the currently selected node.
(Inherited from XPathNavigator.)
Public methodInsertAfter(String)
Creates a new sibling node after the currently selected node using the XML string specified.
(Inherited from XPathNavigator.)
Public methodInsertAfter(XmlReader)
Creates a new sibling node after the currently selected node using the XML contents of the XmlReader object specified.
(Inherited from XPathNavigator.)
Public methodInsertAfter(XPathNavigator)
Creates a new sibling node after the currently selected node using the nodes in the XPathNavigator object specified.
(Inherited from XPathNavigator.)
Public methodInsertBefore()()()()
Returns an XmlWriter object used to create a new sibling node before the currently selected node.
(Inherited from XPathNavigator.)
Public methodInsertBefore(String)
Creates a new sibling node before the currently selected node using the XML string specified.
(Inherited from XPathNavigator.)
Public methodInsertBefore(XmlReader)
Creates a new sibling node before the currently selected node using the XML contents of the XmlReader object specified.
(Inherited from XPathNavigator.)
Public methodInsertBefore(XPathNavigator)
Creates a new sibling node before the currently selected node using the nodes in the XPathNavigator specified.
(Inherited from XPathNavigator.)
Public methodInsertElementAfter
Creates a new sibling element after the current node using the namespace prefix, local name and namespace URI specified, with the value specified.
(Inherited from XPathNavigator.)
Public methodInsertElementBefore
Creates a new sibling element before the current node using the namespace prefix, local name, and namespace URI specified, with the value specified.
(Inherited from XPathNavigator.)
Public methodIsDescendant
Determines whether the specified XPathNavigator is a descendant of the current XPathNavigator.
(Inherited from XPathNavigator.)
Public methodIsSamePosition
Determines whether the current XPathNavigator is at the same position as the specified XPathNavigator.
(Overrides XPathNavigator..::..IsSamePosition(XPathNavigator).)
Protected methodIsSupportedType
Gets value indicating if cpecified type is supported for in-line (text node) representation.
Public methodLookupNamespace
Gets the namespace URI for the specified prefix.
(Inherited from XPathNavigator.)
Public methodLookupPrefix
Gets the prefix declared for the specified namespace URI.
(Inherited from XPathNavigator.)
Public methodMatches(XPathExpression)
Determines whether the current node matches the specified XPathExpression.
(Inherited from XPathNavigator.)
Public methodMatches(String)
Determines whether the current node matches the specified XPath expression.
(Inherited from XPathNavigator.)
Public methodMoveTo
Moves the XPathObjectNavigator to the same position as the specified XPathObjectNavigator.
(Overrides XPathNavigator..::..MoveTo(XPathNavigator).)
Public methodMoveToAttribute
Moves the XPathNavigator to the attribute with the matching local name and namespace URI.
(Inherited from XPathNavigator.)
Public methodMoveToFirst
Moves the XPathNavigator to the first sibling node of the current node.
(Inherited from XPathNavigator.)
Public methodMoveToFirstAttribute
When overridden in a derived class, moves the XPathObjectNavigator to the first attribute of the current node.
(Overrides XPathNavigator..::..MoveToFirstAttribute()()()().)
Public methodMoveToFirstChild
When overridden in a derived class, moves the XPathObjectNavigator to the first child node of the current node.
(Overrides XPathNavigator..::..MoveToFirstChild()()()().)
Public methodMoveToFirstNamespace()()()()
Moves the XPathNavigator to first namespace node of the current node.
(Inherited from XPathNavigator.)
Public methodMoveToFirstNamespace(XPathNamespaceScope)
Moves the XPathNavigator to first namespace node of the current node.
(Overrides XPathNavigator..::..MoveToFirstNamespace(XPathNamespaceScope).)
Protected methodMoveToFirstPropertyOrItem
Helper method for MoveToFirstChild()()()() and MoveToNext()()()() (when current step is XPathObjectNavigator..::..PropertyStep). Moves XPathObjectNavigator to first (or next) property or first IEnumerable item.
Public methodMoveToFollowing(XPathNodeType)
Moves the XPathNavigator to the following element of the XPathNodeType specified in document order.
(Inherited from XPathNavigator.)
Public methodMoveToFollowing(String, String)
Moves the XPathNavigator to the element with the local name and namespace URI specified in document order.
(Inherited from XPathNavigator.)
Public methodMoveToFollowing(XPathNodeType, XPathNavigator)
Moves the XPathNavigator to the following element of the XPathNodeType specified, to the boundary specified, in document order.
(Inherited from XPathNavigator.)
Public methodMoveToFollowing(String, String, XPathNavigator)
Moves the XPathNavigator to the element with the local name and namespace URI specified, to the boundary specified, in document order.
(Inherited from XPathNavigator.)
Public methodMoveToChild(XPathNodeType)
Moves the XPathNavigator to the child node of the XPathNodeType specified.
(Inherited from XPathNavigator.)
Public methodMoveToChild(String, String)
Moves the XPathNavigator to the child node with the local name and namespace URI specified.
(Inherited from XPathNavigator.)
Public methodMoveToId
Moves to the node that has an attribute of type ID whose value matches the specified String.
(Overrides XPathNavigator..::..MoveToId(String).)
Public methodMoveToNamespace
Moves the XPathNavigator to the namespace node with the specified namespace prefix.
(Inherited from XPathNavigator.)
Public methodMoveToNext()()()()
Moves the XPathObjectNavigator to the next sibling node of the current node.
(Overrides XPathNavigator..::..MoveToNext()()()().)
Public methodMoveToNext(XPathNodeType)
Moves the XPathNavigator to the next sibling node of the current node that matches the XPathNodeType specified.
(Inherited from XPathNavigator.)
Public methodMoveToNext(String, String)
Moves the XPathNavigator to the next sibling node with the local name and namespace URI specified.
(Inherited from XPathNavigator.)
Public methodMoveToNextAttribute
Moves the XPathObjectNavigator to the next attribute.
(Overrides XPathNavigator..::..MoveToNextAttribute()()()().)
Public methodMoveToNextNamespace()()()()
Moves the XPathNavigator to the next namespace node.
(Inherited from XPathNavigator.)
Public methodMoveToNextNamespace(XPathNamespaceScope)
Moves the XPathObjectNavigator to the next namespace node.
(Overrides XPathNavigator..::..MoveToNextNamespace(XPathNamespaceScope).)
Public methodMoveToParent
Moves the XPathObjectNavigator to the parent node of the current node.
(Overrides XPathNavigator..::..MoveToParent()()()().)
Public methodMoveToPrevious
When overridden in a derived class, moves the XPathObjectNavigator to the previous sibling node of the current node.
(Overrides XPathNavigator..::..MoveToPrevious()()()().)
Public methodMoveToRoot
Moves the XPathNavigator to the root node that the current node belongs to.
(Inherited from XPathNavigator.)
Public methodPrependChild()()()()
Returns an XmlWriter object used to create a new child node at the beginning of the list of child nodes of the current node.
(Inherited from XPathNavigator.)
Public methodPrependChild(String)
Creates a new child node at the beginning of the list of child nodes of the current node using the XML string specified.
(Inherited from XPathNavigator.)
Public methodPrependChild(XmlReader)
Creates a new child node at the beginning of the list of child nodes of the current node using the XML contents of the XmlReader object specified.
(Inherited from XPathNavigator.)
Public methodPrependChild(XPathNavigator)
Creates a new child node at the beginning of the list of child nodes of the current node using the nodes in the XPathNavigator object specified.
(Inherited from XPathNavigator.)
Public methodPrependChildElement
Creates a new child element at the beginning of the list of child nodes of the current node using the namespace prefix, local name, and namespace URI specified with the value specified.
(Inherited from XPathNavigator.)
Public methodReadSubtree
Returns an XmlReader object that contains the current node and its child nodes.
(Inherited from XPathNavigator.)
Public methodReplaceRange
Replaces a range of sibling nodes from the current node to the node specified.
(Inherited from XPathNavigator.)
Public methodReplaceSelf(String)
Replaces the current node with the content of the string specified.
(Inherited from XPathNavigator.)
Public methodReplaceSelf(XmlReader)
Replaces the current node with the contents of the XmlReader object specified.
(Inherited from XPathNavigator.)
Public methodReplaceSelf(XPathNavigator)
Replaces the current node with the contents of the XPathNavigator object specified.
(Inherited from XPathNavigator.)
Public methodSelect(String)
Selects a node set, using the specified XPath expression.
(Inherited from XPathNavigator.)
Public methodSelect(XPathExpression)
Selects a node set using the specified XPathExpression.
(Inherited from XPathNavigator.)
Public methodSelect(String, IXmlNamespaceResolver)
Selects a node set using the specified XPath expression with the IXmlNamespaceResolver object specified to resolve namespace prefixes.
(Inherited from XPathNavigator.)
Public methodSelectAncestors(XPathNodeType, Boolean)
Selects all the ancestor nodes of the current node that have a matching XPathNodeType.
(Inherited from XPathNavigator.)
Public methodSelectAncestors(String, String, Boolean)
Selects all the ancestor nodes of the current node that have the specified local name and namespace URI.
(Inherited from XPathNavigator.)
Public methodSelectDescendants(XPathNodeType, Boolean)
Selects all the descendant nodes of the current node that have a matching XPathNodeType.
(Inherited from XPathNavigator.)
Public methodSelectDescendants(String, String, Boolean)
Selects all the descendant nodes of the current node with the local name and namespace URI specified.
(Inherited from XPathNavigator.)
Public methodSelectChildren(XPathNodeType)
Selects all the child nodes of the current node that have the matching XPathNodeType.
(Inherited from XPathNavigator.)
Public methodSelectChildren(String, String)
Selects all the child nodes of the current node that have the local name and namespace URI specified.
(Inherited from XPathNavigator.)
Public methodSelectSingleNode(String)
Selects a single node in the XPathNavigator using the specified XPath query.
(Inherited from XPathNavigator.)
Public methodSelectSingleNode(XPathExpression)
Selects a single node in the XPathNavigator using the specified XPathExpression object.
(Inherited from XPathNavigator.)
Public methodSelectSingleNode(String, IXmlNamespaceResolver)
Selects a single node in the XPathNavigator object using the specified XPath query with the IXmlNamespaceResolver object specified to resolve namespace prefixes.
(Inherited from XPathNavigator.)
Public methodSetTypedValue
Sets the typed value of the current node.
(Inherited from XPathNavigator.)
Public methodSetValue
Sets the value of the current node.
(Inherited from XPathNavigator.)
Protected methodSupportedTypeValue
Called by Value for steps which context object is of type for which IsSupportedType(Type) returns true
Public methodToString
Gets the text value of the current node.
(Inherited from XPathNavigator.)
Public methodValueAs(Type)
Returns the item's value as the specified type.
(Inherited from XPathItem.)
Public methodValueAs(Type, IXmlNamespaceResolver)
Gets the current node's value as the Type specified, using the IXmlNamespaceResolver object specified to resolve namespace prefixes.
(Overrides XPathNavigator..::..ValueAs(Type, IXmlNamespaceResolver).)
Public methodWriteSubtree
Streams the current node and its child nodes to the XmlWriter object specified.
(Inherited from XPathNavigator.)

Fields

  NameDescription
Protected fieldStatic memberatrCircleLevel
Name of attribute circele-level
Protected fieldStatic memberatrEnumerable
Name of attribute enumerable
Protected fieldStatic memberatrFullName
Name of attribute full-name
Protected fieldStatic memberatrName
Name of attribute name
Protected fieldStatic memberatrTypeName
Name of attribute type-name
Protected fieldStatic membernodItemOf
Name of ode item-of
Protected fieldStatic memberns
Name of namespace for pseudo-document

Properties

  NameDescription
Public propertyAllowCircles
Gets value indicating if circles in references of objects are allowed.
Public propertyBaseURI
When overridden in a derived class, gets the base URI for the current node.
(Overrides XPathNavigator..::..BaseURI.)
Public propertyCanEdit
Gets a value indicating whether the XPathNavigator can edit the underlying XML data.
(Inherited from XPathNavigator.)
Public propertyCircleLevel
Detects circle references. Gets index into the Location collection where is the first occurence of actual ContextObject as context object.
Protected propertyContextObject
Gets actual context object
Public propertyContextValue
Gets current context value
Protected propertyCurrentObject
Gets actual current object
Protected propertyCurrentProperty
Gets actual current property
Protected propertyCurrentStep
Gets or sets actual current step
Public propertyHasAttributes
Gets a value indicating whether the current node has any attributes.
(Inherited from XPathNavigator.)
Public propertyHasChildren
Gets a value indicating whether the current node has any child nodes.
(Inherited from XPathNavigator.)
Public propertyInnerXml
Gets or sets the markup representing the child nodes of the current node.
(Inherited from XPathNavigator.)
Public propertyIsCircleReferenced
Gets information if current ContextObject is context object of any of parent nodes.
Public propertyIsEmptyElement
Gets a value indicating whether the current node is an empty element without an end element tag.
(Overrides XPathNavigator..::..IsEmptyElement.)
Public propertyIsNode
Gets a value indicating if the current node represents an XPath node.
(Inherited from XPathNavigator.)
Public propertyLocalName
Gets the Name of the current node without any namespace prefix.
(Overrides XPathNavigator..::..LocalName.)
Protected propertyLocation
Sequence of steps alwas starting with XPathObjectNavigator..::..RootStep and always ahving at least 1 item. This sequence determines current position of XPathObjectNavigator.
Public propertyName
When overridden in a derived class, gets the qualified name of the current node.
(Overrides XPathNavigator..::..Name.)
Public propertyNamespaceURI
When overridden in a derived class, gets the namespace URI of the current node.
(Overrides XPathNavigator..::..NamespaceURI.)
Public propertyNameTable (Overrides XPathNavigator..::..NameTable.)
Public propertyNodeType
Gets the XPathNodeType of the current node.
(Overrides XPathNavigator..::..NodeType.)
Public propertyOuterXml
Gets or sets the markup representing the opening and closing tags of the current node and its child nodes.
(Inherited from XPathNavigator.)
Public propertyPrefix
When overridden in a derived class, gets the namespace prefix associated with the current node.
(Overrides XPathNavigator..::..Prefix.)
Public propertySchemaInfo
Gets the schema information that has been assigned to the current node as a result of schema validation.
(Inherited from XPathNavigator.)
Public propertyTypedValue
Gets the current node as a boxed object of the most appropriate .NET Framework type.
(Inherited from XPathNavigator.)
Public propertyUnderlyingObject
Used by XPathNavigator implementations which provide a "virtualized" XML view over a store, to provide access to underlying objects.
(Inherited from XPathNavigator.)
Public propertyValue
Gets the string value of the item.
(Overrides XPathItem..::..Value.)
Public propertyValueAsBoolean
Gets the current node's value as an Boolean.
(Overrides XPathNavigator..::..ValueAsBoolean.)
Public propertyValueAsDateTime
Gets the current node's value as an DateTime.
(Overrides XPathNavigator..::..ValueAsDateTime.)
Public propertyValueAsDouble
Gets the current node's value as an Double.
(Overrides XPathNavigator..::..ValueAsDouble.)
Public propertyValueAsInt
Gets the current node's value as an Int32.
(Overrides XPathNavigator..::..ValueAsInt.)
Public propertyValueAsLong
Gets the current node's value as an Int64.
(Overrides XPathNavigator..::..ValueAsLong.)
Public propertyValueType
Gets the .NET Framework Type of the current node.
(Overrides XPathNavigator..::..ValueType.)
Public propertyXmlLang
Gets the xml:lang scope for the current node.
(Inherited from XPathNavigator.)
Public propertyXmlType
Gets the XmlSchemaType information for the current node.
(Inherited from XPathNavigator.)

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodICloneable..::..Clone
For a description of this member, see Clone()()()().
(Inherited from XPathNavigator.)

See Also