Click or drag to resize
Xml Methods

The Xml type exposes the following members.

Methods
  NameDescription
Public methodAdd(Object)
Adds the specified content as children of this XContainer.
(Inherited from XContainer.)
Public methodAdd(Object)
Adds the specified content as children of this XContainer.
(Inherited from XContainer.)
Public methodAddAfterSelf(Object)
Adds the specified content immediately after this node.
(Inherited from XNode.)
Public methodAddAfterSelf(Object)
Adds the specified content immediately after this node.
(Inherited from XNode.)
Public methodAddAnnotation
Adds an object to the annotation list of this XObject.
(Inherited from XObject.)
Public methodAddBeforeSelf(Object)
Adds the specified content immediately before this node.
(Inherited from XNode.)
Public methodAddBeforeSelf(Object)
Adds the specified content immediately before this node.
(Inherited from XNode.)
Public methodAddFirst(Object)
Adds the specified content as the first children of this document or element.
(Inherited from XContainer.)
Public methodAddFirst(Object)
Adds the specified content as the first children of this document or element.
(Inherited from XContainer.)
Public methodAddNamespace
Public methodAncestors
Returns a collection of the ancestor elements of this node.
(Inherited from XNode.)
Public methodAncestors(XName)
Returns a filtered collection of the ancestor elements of this node. Only elements that have a matching XName are included in the collection.
(Inherited from XNode.)
Public methodAnnotation(Type)
Gets the first annotation object of the specified type from this XObject.
(Inherited from XObject.)
Public methodAnnotationT
Get the first annotation object of the specified type from this XObject.
(Inherited from XObject.)
Public methodAnnotations(Type)
Gets a collection of annotations of the specified type for this XObject.
(Inherited from XObject.)
Public methodAnnotationsT
Gets a collection of annotations of the specified type for this XObject.
(Inherited from XObject.)
Public methodCreateReader
Creates an XmlReader for this node.
(Inherited from XNode.)
Public methodCreateReader(ReaderOptions)
Creates an XmlReader with the options specified by the readerOptions parameter.
(Inherited from XNode.)
Public methodCreateWriter
Creates an XmlWriter that can be used to add nodes to the XContainer.
(Inherited from XContainer.)
Public methodDescendantNodes
Returns a collection of the descendant nodes for this document or element, in document order.
(Inherited from XContainer.)
Public methodDescendants
Returns a collection of the descendant elements for this document or element, in document order.
(Inherited from XContainer.)
Public methodDescendants(XName)
Returns a filtered collection of the descendant elements for this document or element, in document order. Only elements that have a matching XName are included in the collection.
(Inherited from XContainer.)
Public methodElement
Gets the first (in document order) child element with the specified XName.
(Inherited from XContainer.)
Public methodElements
Returns a collection of the child elements of this element or document, in document order.
(Inherited from XContainer.)
Public methodElements(XName)
Returns a filtered collection of the child elements of this element or document, in document order. Only elements that have a matching XName are included in the collection.
(Inherited from XContainer.)
Public methodElementsAfterSelf
Returns a collection of the sibling elements after this node, in document order.
(Inherited from XNode.)
Public methodElementsAfterSelf(XName)
Returns a filtered collection of the sibling elements after this node, in document order. Only elements that have a matching XName are included in the collection.
(Inherited from XNode.)
Public methodElementsBeforeSelf
Returns a collection of the sibling elements before this node, in document order.
(Inherited from XNode.)
Public methodElementsBeforeSelf(XName)
Returns a filtered collection of the sibling elements before this node, in document order. Only elements that have a matching XName are included in the collection.
(Inherited from XNode.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImportNamespace
Public methodIsAfter
Determines if the current node appears after a specified node in terms of document order.
(Inherited from XNode.)
Public methodIsBefore
Determines if the current node appears before a specified node in terms of document order.
(Inherited from XNode.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNodes
Returns a collection of the child nodes of this element or document, in document order.
(Inherited from XContainer.)
Public methodNodesAfterSelf
Returns a collection of the sibling nodes after this node, in document order.
(Inherited from XNode.)
Public methodNodesBeforeSelf
Returns a collection of the sibling nodes before this node, in document order.
(Inherited from XNode.)
Public methodRemove
Removes this node from its parent.
(Inherited from XNode.)
Public methodRemoveAnnotations(Type)
Removes the annotations of the specified type from this XObject.
(Inherited from XObject.)
Public methodRemoveAnnotationsT
Removes the annotations of the specified type from this XObject.
(Inherited from XObject.)
Public methodRemoveNodes
Removes the child nodes from this document or element.
(Inherited from XContainer.)
Public methodReplaceNodes(Object)
Replaces the children nodes of this document or element with the specified content.
(Inherited from XContainer.)
Public methodReplaceNodes(Object)
Replaces the children nodes of this document or element with the specified content.
(Inherited from XContainer.)
Public methodReplaceWith(Object)
Replaces this node with the specified content.
(Inherited from XNode.)
Public methodReplaceWith(Object)
Replaces this node with the specified content.
(Inherited from XNode.)
Public methodSave(String)
Serialize this XDocument to a file, overwriting an existing file, if it exists.
(Inherited from XDocument.)
Public methodSave(Stream)
Outputs this XDocument to the specified Stream.
(Inherited from XDocument.)
Public methodSave(TextWriter)
Serialize this XDocument to a TextWriter.
(Inherited from XDocument.)
Public methodSave(XmlWriter)
Serialize this XDocument to an XmlWriter.
(Inherited from XDocument.)
Public methodSave(String, SaveOptions)
Serialize this XDocument to a file, optionally disabling formatting.
(Inherited from XDocument.)
Public methodSave(Stream, SaveOptions)
Outputs this XDocument to the specified Stream, optionally specifying formatting behavior.
(Inherited from XDocument.)
Public methodSave(TextWriter, SaveOptions)
Serialize this XDocument to a TextWriter, optionally disabling formatting.
(Inherited from XDocument.)
Public methodToString
Returns the indented XML for this node.
(Inherited from XNode.)
Public methodToString(SaveOptions)
Returns the XML for this node, optionally disabling formatting.
(Inherited from XNode.)
Public methodWriteTo
Write this document to an XmlWriter.
(Inherited from XDocument.)
Top
See Also