X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=pkg%2FTizen.NET.API6%2Fbuild%2Ftizen60%2Fref%2FSystem.Xml.XDocument.xml;fp=pkg%2Fbuild%2Ftizen50%2Fref%2FSystem.Xml.XDocument.xml;h=9e4a87a9055adb86ce1638f663ef18f4169df29e;hb=5bd8586c393ccec12b6f596deed556bc6d22b653;hp=2d567c614c726a70f75a639dcca3cbf9df3874c8;hpb=345244cf7a66f9343db88f62755ec5193a27f1d1;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/pkg/build/tizen50/ref/System.Xml.XDocument.xml b/pkg/Tizen.NET.API6/build/tizen60/ref/System.Xml.XDocument.xml similarity index 77% rename from pkg/build/tizen50/ref/System.Xml.XDocument.xml rename to pkg/Tizen.NET.API6/build/tizen60/ref/System.Xml.XDocument.xml index 2d567c6..9e4a87a 100755 --- a/pkg/build/tizen50/ref/System.Xml.XDocument.xml +++ b/pkg/Tizen.NET.API6/build/tizen60/ref/System.Xml.XDocument.xml @@ -3,532 +3,633 @@ System.Xml.XDocument - - Contains the LINQ to XML extension methods. + + Represents an XML namespace. This class cannot be inherited. - - Returns a collection of elements that contains the ancestors of every node in the source collection. - An of that contains the source collection. - The type of the objects in source, constrained to . - An of that contains the ancestors of every node in the source collection. + + Determines whether the specified is equal to the current . + The to compare to the current . + A that indicates whether the specified is equal to the current . - - Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - The type of the objects in source, constrained to . - An of that contains the ancestors of every node in the source collection. Only elements that have a matching are included in the collection. + + Gets an for the specified Uniform Resource Identifier (URI). + A that contains a namespace URI. + An created from the specified URI. - - Returns a collection of elements that contains every element in the source collection, and the ancestors of every element in the source collection. - An of that contains the source collection. - An of that contains every element in the source collection, and the ancestors of every element in the source collection. + + Gets a hash code for this . + An that contains the hash code for the . - - Returns a filtered collection of elements that contains every element in the source collection, and the ancestors of every element in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - An of that contains every element in the source collection, and the ancestors of every element in the source collection. Only elements that have a matching are included in the collection. + + Returns an object created from this and the specified local name. + A that contains a local name. + An created from this and the specified local name. - - Returns a collection of the attributes of every element in the source collection. - An of that contains the source collection. - An of that contains the attributes of every element in the source collection. + + Gets the Uniform Resource Identifier (URI) of this namespace. + A that contains the URI of the namespace. - - Returns a filtered collection of the attributes of every element in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - An of that contains a filtered collection of the attributes of every element in the source collection. Only elements that have a matching are included in the collection. + + Gets the object that corresponds to no namespace. + The that corresponds to no namespace. - - Returns a collection of the descendant nodes of every document and element in the source collection. - An of that contains the source collection. - The type of the objects in source, constrained to . - An of of the descendant nodes of every document and element in the source collection. + + Combines an object with a local name to create an . + An that contains the namespace. + A that contains the local name. + The new constructed from the namespace and local name. - - Returns a collection of nodes that contains every element in the source collection, and the descendant nodes of every element in the source collection. - An of that contains the source collection. - An of that contains every element in the source collection, and the descendant nodes of every element in the source collection. + + Returns a value indicating whether two instances of are equal. + The first to compare. + The second to compare. + A that indicates whether left and right are equal. - - Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - The type of the objects in source, constrained to . - An of that contains the descendant elements of every element and document in the source collection. Only elements that have a matching are included in the collection. + + Converts a string containing a Uniform Resource Identifier (URI) to an . + A that contains the namespace URI. + An constructed from the URI string. - - Returns a collection of elements that contains the descendant elements of every element and document in the source collection. - An of that contains the source collection. - The type of the objects in source, constrained to . - An of that contains the descendant elements of every element and document in the source collection. + + Returns a value indicating whether two instances of are not equal. + The first to compare. + The second to compare. + A that indicates whether left and right are not equal. - - Returns a collection of elements that contains every element in the source collection, and the descendent elements of every element in the source collection. - An of that contains the source collection. - An of that contains every element in the source collection, and the descendent elements of every element in the source collection. + + Returns the URI of this . + The URI of this . - - Returns a filtered collection of elements that contains every element in the source collection, and the descendents of every element in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - An of that contains every element in the source collection, and the descendents of every element in the source collection. Only elements that have a matching are included in the collection. + + Gets the object that corresponds to the XML URI (http://www.w3.org/XML/1998/namespace). + The that corresponds to the XML URI (http://www.w3.org/XML/1998/namespace). - - Returns a collection of the child elements of every element and document in the source collection. - An of that contains the source collection. - The type of the objects in source, constrained to . - An of of the child elements of every element or document in the source collection. + + Gets the object that corresponds to the xmlns URI (http://www.w3.org/2000/xmlns/). + The that corresponds to the xmlns URI (http://www.w3.org/2000/xmlns/). - - Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - The type of the objects in source, constrained to . - An of of the child elements of every element and document in the source collection. Only elements that have a matching are included in the collection. + + Represents a name of an XML element or attribute. - - Returns a collection of nodes that contains all nodes in the source collection, sorted in document order. - An of that contains the source collection. - The type of the objects in source, constrained to . - An of that contains all nodes in the source collection, sorted in document order. + + Determines whether the specified is equal to this . + The to compare to the current . + if the specified is equal to the current ; otherwise . - - Returns a collection of the child nodes of every document and element in the source collection. - An of that contains the source collection. - The type of the objects in source, constrained to . - An of of the child nodes of every document and element in the source collection. + + Gets an object from an expanded name. + A that contains an expanded XML name in the format {namespace}localname. + An object constructed from the expanded name. - - Removes every attribute in the source collection from its parent element. - An of that contains the source collection. + + Gets an object from a local name and a namespace. + A local (unqualified) name. + An XML namespace. + An object created from the specified local name and namespace. - - Removes every node in the source collection from its parent node. - An of that contains the source collection. - The type of the objects in source, constrained to . + + Gets a hash code for this . + An that contains the hash code for the . - - Specifies load options when parsing XML. + + Gets the local (unqualified) part of the name. + A that contains the local (unqualified) part of the name. - - Does not preserve insignificant white space or load base URI and line information. - + + Gets the namespace part of the fully qualified name. + An that contains the namespace part of the name. - - Preserves insignificant white space while parsing. - + + Returns the URI of the for this . + The URI of the for this . - - Requests the base URI information from the , and makes it available via the property. - + + Returns a value indicating whether two instances of are equal. + The first to compare. + The second to compare. + if left and right are equal; otherwise . - - Requests the line information from the and makes it available via properties on . - + + Converts a string formatted as an expanded XML name (that is,{namespace}localname) to an object. + A string that contains an expanded XML name in the format {namespace}localname. + An object constructed from the expanded name. - - Specifies whether to omit duplicate namespaces when loading an with an . + + Returns a value indicating whether two instances of are not equal. + The first to compare. + The second to compare. + if left and right are not equal; otherwise . - - No reader options specified. - + + Returns the expanded XML name in the format {namespace}localname. + A that contains the expanded XML name in the format {namespace}localname. - - Omit duplicate namespaces when loading the . - + + Indicates whether the current is equal to the specified . + The to compare with this . + if this is equal to the specified , otherwise . - - Specifies serialization options. + + Populates a with the data required to serialize the target object. + The to populate with data. + The destination (see ) for this serialization. - - Preserve all insignificant white space while serializing. - + + Represents an XML element. See XElement Class Overview and the Remarks section on this page for usage information and examples. - - Format (indent) the XML while serializing. - + + Initializes a new instance of the class from another object. + An object to copy from. - - Remove the duplicate namespace declarations while serializing. - + + Initializes a new instance of the class with the specified name. + An that contains the name of the element. - - Represents an XML attribute. + + Initializes a new instance of the class from an object. + An that contains unevaluated queries that will be iterated for the contents of this . - - Initializes a new instance of the class from another object. - An object to copy from. - The other parameter is null. + + Initializes a new instance of the class with the specified name and content. + An that contains the element name. + The contents of the element. - - Initializes a new instance of the class from the specified name and value. - The of the attribute. - An containing the value of the attribute. - The name or value parameter is null. + + Initializes a new instance of the class with the specified name and content. + An that contains the element name. + The initial content of the element. - - Gets an empty collection of attributes. - An of containing an empty collection. + + Returns a collection of elements that contain this element, and the ancestors of this element. + An of of elements that contain this element, and the ancestors of this element. - - Determines if this attribute is a namespace declaration. - true if this attribute is a namespace declaration; otherwise false. + + Returns a filtered collection of elements that contain this element, and the ancestors of this element. Only elements that have a matching are included in the collection. + The to match. + An of that contain this element, and the ancestors of this element. Only elements that have a matching are included in the collection. - - Gets the expanded name of this attribute. - An containing the name of this attribute. + + Returns the of this that has the specified . + The of the to get. + An that has the specified ; if there is no attribute with the specified name. - - Gets the next attribute of the parent element. - An containing the next attribute of the parent element. + + Returns a collection of attributes of this element. + An of of attributes of this element. - - Gets the node type for this node. - The node type. For objects, this value is . + + Returns a filtered collection of attributes of this element. Only elements that have a matching are included in the collection. + The to match. + An of that contains the attributes of this element. Only elements that have a matching are included in the collection. - - Cast the value of this to a of . - The to cast to a of . - A of that contains the content of this . - The attribute does not contain a valid value. + + Returns a collection of nodes that contain this element, and all descendant nodes of this element, in document order. + An of that contain this element, and all descendant nodes of this element, in document order. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The attribute does not contain a valid value. + + Returns a filtered collection of elements that contain this element, and all descendant elements of this element, in document order. Only elements that have a matching are included in the collection. + The to match. + An of that contain this element, and all descendant elements of this element, in document order. Only elements that have a matching are included in the collection. - - Cast the value of this to a of . - The to cast to a of . - A of that contains the content of this . - The attribute does not contain a valid value. + + Returns a collection of elements that contain this element, and all descendant elements of this element, in document order. + An of of elements that contain this element, and all descendant elements of this element, in document order. - - Cast the value of this to a of . - The to cast to a of . - A of that contains the content of this . - The attribute does not contain a valid value. + + Gets an empty collection of elements. + An of that contains an empty collection. - - Cast the value of this to a of . - The to cast to a of . - A of that contains the content of this . - The attribute does not contain a valid value. + + Gets the first attribute of this element. + An that contains the first attribute of this element. - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + Gets the default of this . + An that contains the default namespace of this . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . + + Gets the namespace associated with a particular prefix for this . + A string that contains the namespace prefix to look up. + An for the namespace associated with the prefix for this . - - Cast the value of this to a of . - The to cast to a of . - A of that contains the content of this . + + Gets the prefix associated with a namespace for this . + An to look up. + A that contains the namespace prefix. - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + Gets a value indicating whether this element has at least one attribute. + if this element has at least one attribute; otherwise . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + Gets a value indicating whether this element has at least one child element. + if this element has at least one child element; otherwise . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + Gets a value indicating whether this element contains no content. + if this element contains no content; otherwise . - - Cast the value of this to a of . - The to cast to a of . - A of that contains the content of this . - The attribute does not contain a valid value. + + Gets the last attribute of this element. + An that contains the last attribute of this element. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The attribute does not contain a valid value. + + Loads an from a , optionally preserving white space and retaining line information. + A that will be read for the content. + A that specifies white space behavior, and whether to load base URI and line information. + An that contains the XML that was read from the specified . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + Loads an from an , optionally preserving white space, setting the base URI, and retaining line information. + A that will be read for the content of the . + A that specifies white space behavior, and whether to load base URI and line information. + An that contains the XML that was read from the specified . - - Cast the value of this to a of . - The to cast to a of . - A of that contains the content of this . - The attribute does not contain a valid value. + + Loads an from a file, optionally preserving white space, setting the base URI, and retaining line information. + A URI string referencing the file to load into an . + A that specifies white space behavior, and whether to load base URI and line information. + An that contains the contents of the specified file. - - Cast the value of this to a of . - The to cast to a of . - A of that contains the content of this . - The attribute does not contain a valid value. + + Creates a new instance by using the specified stream, optionally preserving white space, setting the base URI, and retaining line information. + The stream containing the XML data. + A object that specifies whether to load base URI and line information. + An object used to read the data that the stream contains. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The attribute does not contain a valid value. + + Loads an from a . + A that will be read for the content. + An that contains the XML that was read from the specified . - - Cast the value of this to an . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + Loads an from a file. + A URI string referencing the file to load into a new . + An that contains the contents of the specified file. - - Cast the value of this to an . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + Creates a new instance by using the specified stream. + The stream that contains the XML data. + An object used to read the data that is contained in the stream. - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + Loads an from an . + A that will be read for the content of the . + An that contains the XML that was read from the specified . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + + + + - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The attribute does not contain a valid value. + + + + + - + + + + + + + + Gets or sets the name of this element. + An that contains the name of this element. + + + Gets the node type for this node. + The node type. For objects, this value is . + + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . + + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . + + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . + + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . + + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . + + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . + + Cast the value of this to a . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The attribute does not contain a valid value. - The attribute parameter is null. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . - - Gets the previous attribute of the parent element. - An containing the previous attribute of the parent element. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . - - Removes this attribute from its parent element. - The parent element is null. + + Cast the value of this to an . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . - - Sets the value of this attribute. - The value to assign to this attribute. - The value parameter is null. - The value is an . + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to a of . + The to cast to an of . + A of that contains the content of this . + The element does not contain a valid value. + + + Cast the value of this to an . + The to cast to . + A that contains the content of this . + The element does not contain a valid value. + The element parameter is . + + + Load an from a string that contains XML. + A that contains XML. + An populated from the string that contains XML. + + + Load an from a string that contains XML, optionally preserving white space and retaining line information. + A that contains XML. + A that specifies white space behavior, and whether to load base URI and line information. + An populated from the string that contains XML. + + + Removes nodes and attributes from this . + + + Removes the attributes of this . + + + Replaces the child nodes and the attributes of this element with the specified content. + The content that will replace the child nodes and attributes of this element. + + + Replaces the child nodes and the attributes of this element with the specified content. + A parameter list of content objects. + + + Replaces the attributes of this element with the specified content. + A parameter list of content objects. + + + Replaces the attributes of this element with the specified content. + The content that will replace the attributes of this element. - - Converts the current object to a string representation. - A containing the XML text representation of an attribute and its value. + + Outputs this to the specified . + The stream to output this to. - - Gets or sets the value of this attribute. - A containing the value of this attribute. - When setting, the value is null. + + Serialize this element to a . + A that the will be written to. - - Represents a text node that contains CDATA. + + Serialize this element to a file. + A that contains the name of the file. - - Initializes a new instance of the class. - A string that contains the value of the node. + + Serialize this element to an . + A that the will be written to. - - Initializes a new instance of the class. - The node to copy from. + + Outputs this to the specified , optionally specifying formatting behavior. + The stream to output this to. + A object that specifies formatting behavior. - - Gets the node type for this node. - The node type. For objects, this value is . + + Serialize this element to a , optionally disabling formatting. + The to output the XML to. + A that specifies formatting behavior. - - Writes this CDATA object to an . - An into which this method will write. + + Serialize this element to a file, optionally disabling formatting. + A that contains the name of the file. + A that specifies formatting behavior. - + + + + + + + - - Represents an XML comment. + + + + + - - Initializes a new instance of the class with the specified string content. - A string that contains the contents of the new object. - The value parameter is null. + + Sets the value of an attribute, adds an attribute, or removes an attribute. + An that contains the name of the attribute to change. + The value to assign to the attribute. The attribute is removed if the value is . Otherwise, the value is converted to its string representation and assigned to the property of the attribute. + The value is an instance of . - - Initializes a new instance of the class from an existing comment node. - The node to copy from. - The other parameter is null. + + Sets the value of a child element, adds a child element, or removes a child element. + An that contains the name of the child element to change. + The value to assign to the child element. The child element is removed if the value is . Otherwise, the value is converted to its string representation and assigned to the property of the child element. + The value is an instance of . - - Gets the node type for this node. - The node type. For objects, this value is . + + Sets the value of this element. + The value to assign to this element. The value is converted to its string representation and assigned to the property. + The value is . + The value is an . - - Gets or sets the string value of this comment. - A that contains the string value of this comment. - The value is null. + + Gets or sets the concatenated text contents of this element. + A that contains all of the text content of this element. If there are multiple text nodes, they will be concatenated. - - Write this comment to an . + + Write this element to an . An into which this method will write. - + - - Represents a node that can contain other nodes. - - - Adds the specified content as children of this . - A content object containing simple content or a collection of content objects to be added. - - - Adds the specified content as children of this . - A parameter list of content objects. - - - Adds the specified content as the first children of this document or element. - A content object containing simple content or a collection of content objects to be added. - - - Adds the specified content as the first children of this document or element. - A parameter list of content objects. - The parent is null. - - - Creates an that can be used to add nodes to the . - An that is ready to have content written to it. - - - Returns a collection of the descendant nodes for this document or element, in document order. - An of containing the descendant nodes of the , in document order. - - - Returns a collection of the descendant elements for this document or element, in document order. - An of containing the descendant elements of the . - - - Returns a filtered collection of the descendant elements for this document or element, in document order. Only elements that have a matching are included in the collection. - The to match. - An of containing the descendant elements of the that match the specified . - - - Gets the first (in document order) child element with the specified . - The to match. - A that matches the specified , or null. - - - Returns a collection of the child elements of this element or document, in document order. - An of containing the child elements of this , in document order. - - - Returns a filtered collection of the child elements of this element or document, in document order. Only elements that have a matching are included in the collection. - The to match. - An of containing the children of the that have a matching , in document order. - - - Get the first child node of this node. - An containing the first child node of the . + + Gets an XML schema definition that describes the XML representation of this object. + An that describes the XML representation of the object that is produced by the method and consumed by the method. - - Get the last child node of this node. - An containing the last child node of the . + + Generates an object from its XML representation. + The from which the object is deserialized. - - Returns a collection of the child nodes of this element or document, in document order. - An of containing the contents of this , in document order. + + Converts an object into its XML representation. + The to which this object is serialized. - - Removes the child nodes from this document or element. + + Represents an XML Document Type Definition (DTD). - - Replaces the children nodes of this document or element with the specified content. - A content object containing simple content or a collection of content objects that replace the children nodes. + + Initializes an instance of the class from another object. + An object to copy from. - - Replaces the children nodes of this document or element with the specified content. - A parameter list of content objects. + + Initializes an instance of the class. + A that contains the qualified name of the DTD, which is the same as the qualified name of the root element of the XML document. + A that contains the public identifier of an external public DTD. + A that contains the system identifier of an external private DTD. + A that contains the internal subset for an internal DTD. - - Represents an XML declaration. + + Gets or sets the internal subset for this Document Type Definition (DTD). + A that contains the internal subset for this Document Type Definition (DTD). - - Initializes a new instance of the class from another object. - The used to initialize this object. + + Gets or sets the name for this Document Type Definition (DTD). + A that contains the name for this Document Type Definition (DTD). - - Initializes a new instance of the class with the specified version, encoding, and standalone status. - The version of the XML, usually "1.0". - The encoding for the XML document. - A string containing "yes" or "no" that specifies whether the XML is standalone or requires external entities to be resolved. + + Gets the node type for this node. + The node type. For objects, this value is . - - Gets or sets the encoding for this document. - A containing the code page name for this document. + + Gets or sets the public identifier for this Document Type Definition (DTD). + A that contains the public identifier for this Document Type Definition (DTD). - - Gets or sets the standalone property for this document. - A containing the standalone property for this document. + + Gets or sets the system identifier for this Document Type Definition (DTD). + A that contains the system identifier for this Document Type Definition (DTD). - - Provides the declaration as a formatted string. - A that contains the formatted XML string. + + Write this to an . + An into which this method will write. - - Gets or sets the version property for this document. - A containing the version property for this document. + + + + Represents an XML document. For the components and usage of an object, see XDocument Class Overview. @@ -551,55 +652,55 @@ Gets or sets the XML declaration for this document. - An that contains the XML declaration for this document. + An that contains the XML declaration for this document. Gets the Document Type Definition (DTD) for this document. - A that contains the DTD for this document. + A that contains the DTD for this document. Creates a new instance by using the specified stream. The stream that contains the XML data. - An object that reads the data that is contained in the stream. + An object that reads the data that is contained in the stream. Creates a new from a . A that contains the content for the . - An that contains the contents of the specified . + An that contains the contents of the specified . Creates a new from a file. A URI string that references the file to load into a new . - An that contains the contents of the specified file. + An that contains the contents of the specified file. Creates a new from an . A that contains the content for the . - An that contains the contents of the specified . + An that contains the contents of the specified . Creates a new instance by using the specified stream, optionally preserving white space, setting the base URI, and retaining line information. The stream containing the XML data. A that specifies whether to load base URI and line information. - An object that reads the data that is contained in the stream. + An object that reads the data that is contained in the stream. Creates a new from a , optionally preserving white space, setting the base URI, and retaining line information. A that contains the content for the . A that specifies white space behavior, and whether to load base URI and line information. - An that contains the XML that was read from the specified . + An that contains the XML that was read from the specified . Creates a new from a file, optionally preserving white space, setting the base URI, and retaining line information. A URI string that references the file to load into a new . A that specifies white space behavior, and whether to load base URI and line information. - An that contains the contents of the specified file. + An that contains the contents of the specified file. Loads an from an , optionally setting the base URI, and retaining line information. A that will be read for the content of the . A that specifies whether to load base URI and line information. - An that contains the XML that was read from the specified . + An that contains the XML that was read from the specified . @@ -621,22 +722,22 @@ Gets the node type for this node. - The node type. For objects, this value is . + The node type. For objects, this value is . Creates a new from a string. A string that contains XML. - An populated from the string that contains XML. + An populated from the string that contains XML. Creates a new from a string, optionally preserving white space, setting the base URI, and retaining line information. A string that contains XML. A that specifies white space behavior, and whether to load base URI and line information. - An populated from the string that contains XML. + An populated from the string that contains XML. Gets the root element of the XML Tree for this document. - The root of the XML tree. + The root of the XML tree. Serialize this to an . @@ -695,832 +796,779 @@ - - Represents an XML Document Type Definition (DTD). - - - Initializes an instance of the class from another object. - An object to copy from. - - - Initializes an instance of the class. - A that contains the qualified name of the DTD, which is the same as the qualified name of the root element of the XML document. - A that contains the public identifier of an external public DTD. - A that contains the system identifier of an external private DTD. - A that contains the internal subset for an internal DTD. - - - Gets or sets the internal subset for this Document Type Definition (DTD). - A that contains the internal subset for this Document Type Definition (DTD). - - - Gets or sets the name for this Document Type Definition (DTD). - A that contains the name for this Document Type Definition (DTD). - - - Gets the node type for this node. - The node type. For objects, this value is . - - - Gets or sets the public identifier for this Document Type Definition (DTD). - A that contains the public identifier for this Document Type Definition (DTD). - - - Gets or sets the system identifier for this Document Type Definition (DTD). - A that contains the system identifier for this Document Type Definition (DTD). - - - Write this to an . - An into which this method will write. - - - - - - - - Represents an XML element. See XElement Class Overview and the Remarks section on this page for usage information and examples. - - - Initializes a new instance of the class from another object. - An object to copy from. + + Represents an XML declaration. - - Initializes a new instance of the class with the specified name. - An that contains the name of the element. + + Initializes a new instance of the class from another object. + The used to initialize this object. - - Initializes a new instance of the class from an object. - An that contains unevaluated queries that will be iterated for the contents of this . + + Initializes a new instance of the class with the specified version, encoding, and standalone status. + The version of the XML, usually "1.0". + The encoding for the XML document. + A string containing "yes" or "no" that specifies whether the XML is standalone or requires external entities to be resolved. - - Initializes a new instance of the class with the specified name and content. - An that contains the element name. - The contents of the element. + + Gets or sets the encoding for this document. + A containing the code page name for this document. - - Initializes a new instance of the class with the specified name and content. - An that contains the element name. - The initial content of the element. + + Gets or sets the standalone property for this document. + A containing the standalone property for this document. - - Returns a collection of elements that contain this element, and the ancestors of this element. - An of of elements that contain this element, and the ancestors of this element. + + Provides the declaration as a formatted string. + A that contains the formatted XML string. - - Returns a filtered collection of elements that contain this element, and the ancestors of this element. Only elements that have a matching are included in the collection. - The to match. - An of that contain this element, and the ancestors of this element. Only elements that have a matching are included in the collection. + + Gets or sets the version property for this document. + A containing the version property for this document. - - Returns the of this that has the specified . - The of the to get. - An that has the specified ; null if there is no attribute with the specified name. + + Represents a node that can contain other nodes. - - Returns a collection of attributes of this element. - An of of attributes of this element. + + Adds the specified content as children of this . + A content object containing simple content or a collection of content objects to be added. - - Returns a filtered collection of attributes of this element. Only elements that have a matching are included in the collection. - The to match. - An of that contains the attributes of this element. Only elements that have a matching are included in the collection. + + Adds the specified content as children of this . + A parameter list of content objects. - - Returns a collection of nodes that contain this element, and all descendant nodes of this element, in document order. - An of that contain this element, and all descendant nodes of this element, in document order. + + Adds the specified content as the first children of this document or element. + A content object containing simple content or a collection of content objects to be added. - - Returns a filtered collection of elements that contain this element, and all descendant elements of this element, in document order. Only elements that have a matching are included in the collection. - The to match. - An of that contain this element, and all descendant elements of this element, in document order. Only elements that have a matching are included in the collection. + + Adds the specified content as the first children of this document or element. + A parameter list of content objects. + The parent is . - - Returns a collection of elements that contain this element, and all descendant elements of this element, in document order. - An of of elements that contain this element, and all descendant elements of this element, in document order. + + Creates an that can be used to add nodes to the . + An that is ready to have content written to it. - - Gets an empty collection of elements. - An of that contains an empty collection. + + Returns a collection of the descendant nodes for this document or element, in document order. + An of containing the descendant nodes of the , in document order. - - Gets the first attribute of this element. - An that contains the first attribute of this element. + + Returns a collection of the descendant elements for this document or element, in document order. + An of containing the descendant elements of the . - - Gets the default of this . - An that contains the default namespace of this . + + Returns a filtered collection of the descendant elements for this document or element, in document order. Only elements that have a matching are included in the collection. + The to match. + An of containing the descendant elements of the that match the specified . - - Gets the namespace associated with a particular prefix for this . - A string that contains the namespace prefix to look up. - An for the namespace associated with the prefix for this . + + Gets the first (in document order) child element with the specified . + The to match. + A that matches the specified , or . - - Gets the prefix associated with a namespace for this . - An to look up. - A that contains the namespace prefix. + + Returns a collection of the child elements of this element or document, in document order. + An of containing the child elements of this , in document order. - - Gets a value indicating whether this element has at least one attribute. - true if this element has at least one attribute; otherwise false. + + Returns a filtered collection of the child elements of this element or document, in document order. Only elements that have a matching are included in the collection. + The to match. + An of containing the children of the that have a matching , in document order. - - Gets a value indicating whether this element has at least one child element. - true if this element has at least one child element; otherwise false. + + Get the first child node of this node. + An containing the first child node of the . - - Gets a value indicating whether this element contains no content. - true if this element contains no content; otherwise false. + + Get the last child node of this node. + An containing the last child node of the . - - Gets the last attribute of this element. - An that contains the last attribute of this element. + + Returns a collection of the child nodes of this element or document, in document order. + An of containing the contents of this , in document order. - - Loads an from a , optionally preserving white space and retaining line information. - A that will be read for the content. - A that specifies white space behavior, and whether to load base URI and line information. - An that contains the XML that was read from the specified . + + Removes the child nodes from this document or element. - - Loads an from an , optionally preserving white space, setting the base URI, and retaining line information. - A that will be read for the content of the . - A that specifies white space behavior, and whether to load base URI and line information. - An that contains the XML that was read from the specified . + + Replaces the children nodes of this document or element with the specified content. + A content object containing simple content or a collection of content objects that replace the children nodes. - - Loads an from a file, optionally preserving white space, setting the base URI, and retaining line information. - A URI string referencing the file to load into an . - A that specifies white space behavior, and whether to load base URI and line information. - An that contains the contents of the specified file. + + Replaces the children nodes of this document or element with the specified content. + A parameter list of content objects. - - Creates a new instance by using the specified stream, optionally preserving white space, setting the base URI, and retaining line information. - The stream containing the XML data. - A object that specifies whether to load base URI and line information. - An object used to read the data that the stream contains. + + Represents an XML comment. - - Loads an from a . - A that will be read for the content. - An that contains the XML that was read from the specified . + + Initializes a new instance of the class with the specified string content. + A string that contains the contents of the new object. + The value parameter is . - - Loads an from a file. - A URI string referencing the file to load into a new . - An that contains the contents of the specified file. + + Initializes a new instance of the class from an existing comment node. + The node to copy from. + The other parameter is . - - Creates a new instance by using the specified stream. - The stream that contains the XML data. - An object used to read the data that is contained in the stream. + + Gets the node type for this node. + The node type. For objects, this value is . - - Loads an from an . - A that will be read for the content of the . - An that contains the XML that was read from the specified . + + Gets or sets the string value of this comment. + A that contains the string value of this comment. + The value is . - - - - - + + Write this comment to an . + An into which this method will write. - - - + + - - - - - + + Represents a text node that contains CDATA. - - Gets or sets the name of this element. - An that contains the name of this element. + + Initializes a new instance of the class. + A string that contains the value of the node. - + + Initializes a new instance of the class. + The node to copy from. + + Gets the node type for this node. - The node type. For objects, this value is . + The node type. For objects, this value is . - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + Writes this CDATA object to an . + An into which this method will write. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + + + - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + Represents an XML attribute. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + Initializes a new instance of the class from another object. + An object to copy from. + The other parameter is . - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + Initializes a new instance of the class from the specified name and value. + The of the attribute. + An containing the value of the attribute. + The name or value parameter is . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Gets an empty collection of attributes. + An of containing an empty collection. - - Cast the value of this to a . - The to cast to . - A that contains the content of this . + + Determines if this attribute is a namespace declaration. + if this attribute is a namespace declaration; otherwise . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Gets the expanded name of this attribute. + An containing the name of this attribute. - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Gets the next attribute of the parent element. + An containing the next attribute of the parent element. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + Gets the node type for this node. + The node type. For objects, this value is . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Cast the value of this to a of . + The to cast to a of . + A of that contains the content of this . + The attribute does not contain a valid value. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The attribute does not contain a valid value. + + + Cast the value of this to a of . + The to cast to a of . + A of that contains the content of this . + The attribute does not contain a valid value. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + Cast the value of this to a of . + The to cast to a of . + A of that contains the content of this . + The attribute does not contain a valid value. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + Cast the value of this to a of . + The to cast to a of . + A of that contains the content of this . + The attribute does not contain a valid value. - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Cast the value of this to a of . + The to cast to a of . + A of that contains the content of this . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Cast the value of this to a . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Cast the value of this to an . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Cast the value of this to a of . + The to cast to a of . + A of that contains the content of this . + The attribute does not contain a valid value. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The attribute does not contain a valid value. - - Cast the value of this to a of . - The to cast to of . - A of that contains the content of this . - The element does not contain a valid value. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Cast the value of this to a of . - The to cast to an of . - A of that contains the content of this . - The element does not contain a valid value. + + Cast the value of this to a of . + The to cast to a of . + A of that contains the content of this . + The attribute does not contain a valid value. - - Cast the value of this to an . - The to cast to . - A that contains the content of this . - The element does not contain a valid value. - The element parameter is null. + + Cast the value of this to a of . + The to cast to a of . + A of that contains the content of this . + The attribute does not contain a valid value. - - Load an from a string that contains XML. - A that contains XML. - An populated from the string that contains XML. + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The attribute does not contain a valid value. - - Load an from a string that contains XML, optionally preserving white space and retaining line information. - A that contains XML. - A that specifies white space behavior, and whether to load base URI and line information. - An populated from the string that contains XML. + + Cast the value of this to an . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Removes nodes and attributes from this . + + Cast the value of this to an . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Removes the attributes of this . + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Replaces the child nodes and the attributes of this element with the specified content. - The content that will replace the child nodes and attributes of this element. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Replaces the child nodes and the attributes of this element with the specified content. - A parameter list of content objects. + + Cast the value of this to a of . + The to cast to of . + A of that contains the content of this . + The attribute does not contain a valid value. - - Replaces the attributes of this element with the specified content. - A parameter list of content objects. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Replaces the attributes of this element with the specified content. - The content that will replace the attributes of this element. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Outputs this to the specified . - The stream to output this to. + + Cast the value of this to a . + The to cast to . + A that contains the content of this . + The attribute does not contain a valid value. + The attribute parameter is . - - Serialize this element to a . - A that the will be written to. + + Gets the previous attribute of the parent element. + An containing the previous attribute of the parent element. - - Serialize this element to a file. - A that contains the name of the file. + + Removes this attribute from its parent element. + The parent element is . - - Serialize this element to an . - A that the will be written to. + + Sets the value of this attribute. + The value to assign to this attribute. + The value parameter is . + The value is an . - - Outputs this to the specified , optionally specifying formatting behavior. - The stream to output this to. - A object that specifies formatting behavior. + + Converts the current object to a string representation. + A containing the XML text representation of an attribute and its value. - - Serialize this element to a , optionally disabling formatting. - The to output the XML to. - A that specifies formatting behavior. + + Gets or sets the value of this attribute. + A containing the value of this attribute. + When setting, the value is . - - Serialize this element to a file, optionally disabling formatting. - A that contains the name of the file. - A that specifies formatting behavior. + + Specifies serialization options. - - - - + + Preserve all insignificant white space while serializing. - - - + + Format (indent) the XML while serializing. - - - - + + Remove the duplicate namespace declarations while serializing. - - Sets the value of an attribute, adds an attribute, or removes an attribute. - An that contains the name of the attribute to change. - The value to assign to the attribute. The attribute is removed if the value is null. Otherwise, the value is converted to its string representation and assigned to the property of the attribute. - The value is an instance of . - - - Sets the value of a child element, adds a child element, or removes a child element. - An that contains the name of the child element to change. - The value to assign to the child element. The child element is removed if the value is null. Otherwise, the value is converted to its string representation and assigned to the property of the child element. - The value is an instance of . - - - Sets the value of this element. - The value to assign to this element. The value is converted to its string representation and assigned to the property. - The value is null. - The value is an . - - - Gets or sets the concatenated text contents of this element. - A that contains all of the text content of this element. If there are multiple text nodes, they will be concatenated. + + Specifies whether to omit duplicate namespaces when loading an with an . - - Write this element to an . - An into which this method will write. + + No reader options specified. + - - - + + Omit duplicate namespaces when loading the . - - Gets an XML schema definition that describes the XML representation of this object. - An that describes the XML representation of the object that is produced by the method and consumed by the method. + + Specifies load options when parsing XML. + + + Does not preserve insignificant white space or load base URI and line information. + - - Generates an object from its XML representation. - The from which the object is deserialized. + + Preserves insignificant white space while parsing. + - - Converts an object into its XML representation. - The to which this object is serialized. + + Requests the base URI information from the , and makes it available via the property. + - - Represents a name of an XML element or attribute. + + Requests the line information from the and makes it available via properties on . + - - Determines whether the specified is equal to this . - The to compare to the current . - true if the specified is equal to the current ; otherwise false. + + Contains the LINQ to XML extension methods. - - Gets an object from an expanded name. - A that contains an expanded XML name in the format {namespace}localname. - An object constructed from the expanded name. + + Returns a collection of elements that contains the ancestors of every node in the source collection. + An of that contains the source collection. + The type of the objects in source, constrained to . + An of that contains the ancestors of every node in the source collection. - - Gets an object from a local name and a namespace. - A local (unqualified) name. - An XML namespace. - An object created from the specified local name and namespace. + + Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching are included in the collection. + An of that contains the source collection. + The to match. + The type of the objects in source, constrained to . + An of that contains the ancestors of every node in the source collection. Only elements that have a matching are included in the collection. - - Gets a hash code for this . - An that contains the hash code for the . + + Returns a collection of elements that contains every element in the source collection, and the ancestors of every element in the source collection. + An of that contains the source collection. + An of that contains every element in the source collection, and the ancestors of every element in the source collection. - - Gets the local (unqualified) part of the name. - A that contains the local (unqualified) part of the name. + + Returns a filtered collection of elements that contains every element in the source collection, and the ancestors of every element in the source collection. Only elements that have a matching are included in the collection. + An of that contains the source collection. + The to match. + An of that contains every element in the source collection, and the ancestors of every element in the source collection. Only elements that have a matching are included in the collection. - - Gets the namespace part of the fully qualified name. - An that contains the namespace part of the name. + + Returns a collection of the attributes of every element in the source collection. + An of that contains the source collection. + An of that contains the attributes of every element in the source collection. - - Returns the URI of the for this . - The URI of the for this . + + Returns a filtered collection of the attributes of every element in the source collection. Only elements that have a matching are included in the collection. + An of that contains the source collection. + The to match. + An of that contains a filtered collection of the attributes of every element in the source collection. Only elements that have a matching are included in the collection. - - Returns a value indicating whether two instances of are equal. - The first to compare. - The second to compare. - true if left and right are equal; otherwise false. + + Returns a collection of the descendant nodes of every document and element in the source collection. + An of that contains the source collection. + The type of the objects in source, constrained to . + An of of the descendant nodes of every document and element in the source collection. - - Converts a string formatted as an expanded XML name (that is,{namespace}localname) to an object. - A string that contains an expanded XML name in the format {namespace}localname. - An object constructed from the expanded name. + + Returns a collection of nodes that contains every element in the source collection, and the descendant nodes of every element in the source collection. + An of that contains the source collection. + An of that contains every element in the source collection, and the descendant nodes of every element in the source collection. - - Returns a value indicating whether two instances of are not equal. - The first to compare. - The second to compare. - true if left and right are not equal; otherwise false. + + Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching are included in the collection. + An of that contains the source collection. + The to match. + The type of the objects in source, constrained to . + An of that contains the descendant elements of every element and document in the source collection. Only elements that have a matching are included in the collection. - - Returns the expanded XML name in the format {namespace}localname. - A that contains the expanded XML name in the format {namespace}localname. + + Returns a collection of elements that contains the descendant elements of every element and document in the source collection. + An of that contains the source collection. + The type of the objects in source, constrained to . + An of that contains the descendant elements of every element and document in the source collection. - - Indicates whether the current is equal to the specified . - The to compare with this . - true if this is equal to the specified , otherwise false. + + Returns a collection of elements that contains every element in the source collection, and the descendent elements of every element in the source collection. + An of that contains the source collection. + An of that contains every element in the source collection, and the descendent elements of every element in the source collection. - - Populates a with the data required to serialize the target object. - The to populate with data. - The destination (see ) for this serialization. + + Returns a filtered collection of elements that contains every element in the source collection, and the descendents of every element in the source collection. Only elements that have a matching are included in the collection. + An of that contains the source collection. + The to match. + An of that contains every element in the source collection, and the descendents of every element in the source collection. Only elements that have a matching are included in the collection. - - Represents an XML namespace. This class cannot be inherited. + + Returns a collection of the child elements of every element and document in the source collection. + An of that contains the source collection. + The type of the objects in source, constrained to . + An of of the child elements of every element or document in the source collection. - - Determines whether the specified is equal to the current . - The to compare to the current . - A that indicates whether the specified is equal to the current . + + Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching are included in the collection. + An of that contains the source collection. + The to match. + The type of the objects in source, constrained to . + An of of the child elements of every element and document in the source collection. Only elements that have a matching are included in the collection. - - Gets an for the specified Uniform Resource Identifier (URI). - A that contains a namespace URI. - An created from the specified URI. + + Returns a collection of nodes that contains all nodes in the source collection, sorted in document order. + An of that contains the source collection. + The type of the objects in source, constrained to . + An of that contains all nodes in the source collection, sorted in document order. - - Gets a hash code for this . - An that contains the hash code for the . + + Returns a collection of the child nodes of every document and element in the source collection. + An of that contains the source collection. + The type of the objects in source, constrained to . + An of of the child nodes of every document and element in the source collection. - - Returns an object created from this and the specified local name. - A that contains a local name. - An created from this and the specified local name. + + Removes every attribute in the source collection from its parent element. + An of that contains the source collection. - - Gets the Uniform Resource Identifier (URI) of this namespace. - A that contains the URI of the namespace. + + Removes every node in the source collection from its parent node. + An of that contains the source collection. + The type of the objects in source, constrained to . - - Gets the object that corresponds to no namespace. - The that corresponds to no namespace. + + This class contains the LINQ to XML extension methods for XSD validation. - - Combines an object with a local name to create an . - An that contains the namespace. - A that contains the local name. - The new constructed from the namespace and local name. + + Gets the post-schema-validation infoset (PSVI) of a validated attribute. + An that has been previously validated. + A that contains the post-schema-validation infoset for an . - - Returns a value indicating whether two instances of are equal. - The first to compare. - The second to compare. - A that indicates whether left and right are equal. + + Gets the post-schema-validation infoset (PSVI) of a validated element. + An that has been previously validated. + A that contains the post-schema-validation infoset (PSVI) for an . - - Converts a string containing a Uniform Resource Identifier (URI) to an . - A that contains the namespace URI. - An constructed from the URI string. + + This method validates that an conforms to an XSD in an . + The to validate. + An to validate against. + A for an event that occurs when the reader encounters validation errors. If , throws an exception upon validation errors. + Thrown for XML Schema Definition Language (XSD) validation errors. - - Returns a value indicating whether two instances of are not equal. - The first to compare. - The second to compare. - A that indicates whether left and right are not equal. + + This method validates that an conforms to a specified and an . + The to validate. + An that specifies the sub-tree to validate. + An to validate against. + A for an event that occurs when the reader encounters validation errors. If , throws an exception upon validation errors. + Thrown for XML Schema Definition Language (XSD) validation errors. - - Returns the URI of this . - The URI of this . + + Validates that an conforms to an XSD in an , optionally populating the XML tree with the post-schema-validation infoset (PSVI). + The to validate. + An to validate against. + A for an event that occurs when the reader encounters validation errors. If , throws an exception upon validation errors. + A indicating whether to populate the post-schema-validation infoset (PSVI). + Thrown for XML Schema Definition Language (XSD) validation errors. - - Gets the object that corresponds to the XML URI (http://www.w3.org/XML/1998/namespace). - The that corresponds to the XML URI (http://www.w3.org/XML/1998/namespace). + + This method validates that an sub-tree conforms to a specified and an . + The to validate. + An that specifies the sub-tree to validate. + An to validate against. + A for an event that occurs when the reader encounters validation errors. If , throws an exception upon validation errors. + Thrown for XML Schema Definition Language (XSD) validation errors. - - Gets the object that corresponds to the xmlns URI (http://www.w3.org/2000/xmlns/). - The that corresponds to the xmlns URI (http://www.w3.org/2000/xmlns/). + + Validates that an conforms to a specified and an , optionally populating the XML tree with the post-schema-validation infoset (PSVI). + The to validate. + An that specifies the sub-tree to validate. + An to validate against. + A for an event that occurs when the reader encounters validation errors. If , throws an exception upon validation errors. + A indicating whether to populate the post-schema-validation infoset (PSVI). + Thrown for XML Schema Definition Language (XSD) validation errors. - - Represents the abstract concept of a node (element, comment, document type, processing instruction, or text node) in the XML tree. + + Validates that an sub-tree conforms to a specified and an , optionally populating the XML tree with the post-schema-validation infoset (PSVI). + The to validate. + An that specifies the sub-tree to validate. + An to validate against. + A for an event that occurs when the reader encounters validation errors. If , throws an exception upon validation errors. + A indicating whether to populate the post-schema-validation infoset (PSVI). + Thrown for XML Schema Definition Language (XSD) validation errors. - - Adds the specified content immediately after this node. - A content object that contains simple content or a collection of content objects to be added after this node. - The parent is null. + + Represents a text node. - - Adds the specified content immediately after this node. - A parameter list of content objects. - The parent is null. + + Initializes a new instance of the class. + The that contains the value of the node. - - Adds the specified content immediately before this node. - A content object that contains simple content or a collection of content objects to be added before this node. - The parent is null. + + Initializes a new instance of the class from another object. + The node to copy from. - - Adds the specified content immediately before this node. - A parameter list of content objects. - The parent is null. + + Gets the node type for this node. + The node type. For objects, this value is . - - Returns a collection of the ancestor elements of this node. - An of of the ancestor elements of this node. + + Gets or sets the value of this node. + A that contains the value of this node. - - Returns a filtered collection of the ancestor elements of this node. Only elements that have a matching are included in the collection. - The to match. - An of of the ancestor elements of this node. Only elements that have a matching are included in the collection. - The nodes in the returned collection are in reverse document order. - This method uses deferred execution. + + Writes this node to an . + An into which this method will write. - - Compares two nodes to determine their relative XML document order. - First to compare. - Second to compare. - An int containing 0 if the nodes are equal; -1 if n1 is before n2; 1 if n1 is after n2. - The two nodes do not share a common ancestor. + + + + - - Creates an for this node. - An that can be used to read this node and its descendants. + + Represents elements in an XML tree that supports deferred streaming output. - - Creates an with the options specified by the readerOptions parameter. - A object that specifies whether to omit duplicate namespaces. - An object. + + Initializes a new instance of the class from the specified . + An that contains the name of the element. - - Compares the values of two nodes, including the values of all descendant nodes. - The first to compare. - The second to compare. - true if the nodes are equal; otherwise false. + + Initializes a new instance of the class with the specified name and content. + An that contains the element name. + The contents of the element. - - Gets a comparer that can compare the relative position of two nodes. - An that can compare the relative position of two nodes. + + Initializes a new instance of the class with the specified name and content. + An that contains the element name. + The contents of the element. - - Returns a collection of the sibling elements after this node, in document order. - An of of the sibling elements after this node, in document order. + + Adds the specified content as children to this . + Content to be added to the streaming element. - - Returns a filtered collection of the sibling elements after this node, in document order. Only elements that have a matching are included in the collection. - The to match. - An of of the sibling elements after this node, in document order. Only elements that have a matching are included in the collection. + + Adds the specified content as children to this . + Content to be added to the streaming element. - - Returns a collection of the sibling elements before this node, in document order. - An of of the sibling elements before this node, in document order. + + Gets or sets the name of this streaming element. + An that contains the name of this streaming element. - - Returns a filtered collection of the sibling elements before this node, in document order. Only elements that have a matching are included in the collection. - The to match. - An of of the sibling elements before this node, in document order. Only elements that have a matching are included in the collection. + + Outputs this to the specified . + The stream to output this to. - - Gets a comparer that can compare two nodes for value equality. - A that can compare two nodes for value equality. + + Serialize this streaming element to a . + A that the will be written to. - - Determines if the current node appears after a specified node in terms of document order. - The to compare for document order. - true if this node appears after the specified node; otherwise false. + + Serialize this streaming element to a file. + A that contains the name of the file. - - Determines if the current node appears before a specified node in terms of document order. - The to compare for document order. - true if this node appears before the specified node; otherwise false. + + Serialize this streaming element to an . + A that the will be written to. - - Gets the next sibling node of this node. - The that contains the next sibling node. + + Outputs this to the specified , optionally specifying formatting behavior. + The stream to output this to. + A object that specifies formatting behavior. - - Returns a collection of the sibling nodes after this node, in document order. - An of of the sibling nodes after this node, in document order. + + Serialize this streaming element to a , optionally disabling formatting. + The to output the XML to. + A that specifies formatting behavior. - - Returns a collection of the sibling nodes before this node, in document order. - An of of the sibling nodes before this node, in document order. + + Serialize this streaming element to a file, optionally disabling formatting. + A that contains the name of the file. + A object that specifies formatting behavior. - - Gets the previous sibling node of this node. - The that contains the previous sibling node. + + Returns the formatted (indented) XML for this streaming element. + A containing the indented XML. - - Creates an from an . - An positioned at the node to read into this . - An that contains the node and its descendant nodes that were read from the reader. The runtime type of the node is determined by the node type () of the first node encountered in the reader. - The is not positioned on a recognized node type. - The underlying throws an exception. + + Returns the XML for this streaming element, optionally disabling formatting. + A that specifies formatting behavior. + A containing the XML. - - - - + + Writes this streaming element to an . + An into which this method will write. - - Removes this node from its parent. - The parent is null. + + Represents an XML processing instruction. - - Replaces this node with the specified content. - Content that replaces this node. + + Initializes a new instance of the class. + The node to copy from. - - Replaces this node with the specified content. - A parameter list of the new content. + + Initializes a new instance of the class. + A containing the target application for this . + The string data for this . + The target or data parameter is . + The target does not follow the constraints of an XML name. - - Returns the indented XML for this node. - A containing the indented XML. + + Gets or sets the string value of this processing instruction. + A that contains the string value of this processing instruction. + The string value is . - - Returns the XML for this node, optionally disabling formatting. - A that specifies formatting behavior. - A containing the XML. + + Gets the node type for this node. + The node type. For objects, this value is . - - Writes this node to an . - An into which this method will write. + + Gets or sets a string containing the target application for this processing instruction. + A containing the target application for this processing instruction. + The string value is . + The target does not follow the constraints of an XML name. - + + Writes this processing instruction to an . + The to write this processing instruction to. + + - - Contains functionality to compare nodes for their document order. This class cannot be inherited. + + Provides data for the and events. - - Initializes a new instance of the class. + + Initializes a new instance of the class. + An that contains the event arguments for LINQ to XML events. - - Compares two nodes to determine their relative document order. - The first to compare. - The second to compare. - An that contains 0 if the nodes are equal; -1 if x is before y; 1 if x is after y. - The two nodes do not share a common ancestor. + + Event argument for an change event. + - - Compares two nodes to determine their relative document order. - The first to compare. - The second to compare. - An that contains 0 if the nodes are equal; -1 if x is before y; 1 if x is after y. - The two nodes do not share a common ancestor. - The two nodes are not derived from . + + Event argument for a change event. + - - Compares nodes to determine whether they are equal. This class cannot be inherited. + + Gets the type of change. + An that contains the type of change. - - Initializes a new instance of the class. + + Event argument for a change event. + - - Compares the values of two nodes. - The first to compare. - The second to compare. - A indicating if the nodes are equal. + + Event argument for a change event. + - - Returns a hash code based on an . - The to hash. - A that contains a value-based hash code for the node. + + Specifies the event type when an event is raised for an . - - Compares the values of two nodes. - The first to compare. - The second to compare. - true if the nodes are equal; otherwise false. + + An has been or will be added to an . + - - Returns a hash code based on the value of a node. - The node to hash. - A that contains a value-based hash code for the node. + + An has been or will be renamed. + + + + An has been or will be removed from an . + + + + The value of an has been or will be changed. In addition, a change in the serialization of an empty element (either from an empty tag to start/end tag pair or vice versa) raises this event. + Represents a node or an attribute in an XML tree. @@ -1532,26 +1580,26 @@ Gets the first annotation object of the specified type from this . The of the annotation to retrieve. - The that contains the first annotation object that matches the specified type, or null if no annotation is of the specified type. + The that contains the first annotation object that matches the specified type, or if no annotation is of the specified type. Get the first annotation object of the specified type from this . The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. + The first annotation object that matches the specified type, or if no annotation is of the specified type. Gets a collection of annotations of the specified type for this . The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . + An of that contains the annotations that match the specified type for this . Gets a collection of annotations of the specified type for this . The type of the annotations to retrieve. - An that contains the annotations for this . + An that contains the annotations for this . Gets the base URI for this . - A that contains the base URI for this . + A that contains the base URI for this . Raised when this or any of its descendants have changed. @@ -1561,15 +1609,15 @@ Gets the for this . - The for this . + The for this . Gets the node type for this . - The node type for this . + The node type for this . Gets the parent of this . - The parent of this . + The parent of this . Removes the annotations of the specified type from this . @@ -1581,262 +1629,214 @@ Gets a value indicating whether or not this has line information. - true if the has line information, otherwise false. + if the has line information, otherwise . Gets the line number that the underlying reported for this . - An that contains the line number reported by the for this . + An that contains the line number reported by the for this . Gets the line position that the underlying reported for this . - An that contains the line position reported by the for this . - - - Specifies the event type when an event is raised for an . - - - An has been or will be added to an . - - - - An has been or will be renamed. - - - - An has been or will be removed from an . - - - - The value of an has been or will be changed. In addition, a change in the serialization of an empty element (either from an empty tag to start/end tag pair or vice versa) raises this event. - - - - Provides data for the and events. - - - Initializes a new instance of the class. - An that contains the event arguments for LINQ to XML events. - - - Event argument for an change event. - - - - Event argument for a change event. - + An that contains the line position reported by the for this . - - Gets the type of change. - An that contains the type of change. + + Compares nodes to determine whether they are equal. This class cannot be inherited. - - Event argument for a change event. - + + Initializes a new instance of the class. - - Event argument for a change event. - + + Compares the values of two nodes. + The first to compare. + The second to compare. + A indicating if the nodes are equal. - - Represents an XML processing instruction. + + Returns a hash code based on an . + The to hash. + A that contains a value-based hash code for the node. - - Initializes a new instance of the class. - The node to copy from. + + Compares the values of two nodes. + The first to compare. + The second to compare. + if the nodes are equal; otherwise . - - Initializes a new instance of the class. - A containing the target application for this . - The string data for this . - The target or data parameter is null. - The target does not follow the constraints of an XML name. + + Returns a hash code based on the value of a node. + The node to hash. + A that contains a value-based hash code for the node. - - Gets or sets the string value of this processing instruction. - A that contains the string value of this processing instruction. - The string value is null. + + Contains functionality to compare nodes for their document order. This class cannot be inherited. - - Gets the node type for this node. - The node type. For objects, this value is . + + Initializes a new instance of the class. - - Gets or sets a string containing the target application for this processing instruction. - A containing the target application for this processing instruction. - The string value is null. - The target does not follow the constraints of an XML name. + + Compares two nodes to determine their relative document order. + The first to compare. + The second to compare. + An that contains 0 if the nodes are equal; -1 if x is before y; 1 if x is after y. + The two nodes do not share a common ancestor. - - Writes this processing instruction to an . - The to write this processing instruction to. + + Compares two nodes to determine their relative document order. + The first to compare. + The second to compare. + An that contains 0 if the nodes are equal; -1 if x is before y; 1 if x is after y. + The two nodes do not share a common ancestor. + The two nodes are not derived from . - - - - + + Represents the abstract concept of a node (element, comment, document type, processing instruction, or text node) in the XML tree. - - Represents elements in an XML tree that supports deferred streaming output. + + Adds the specified content immediately after this node. + A content object that contains simple content or a collection of content objects to be added after this node. + The parent is . - - Initializes a new instance of the class from the specified . - An that contains the name of the element. + + Adds the specified content immediately after this node. + A parameter list of content objects. + The parent is . - - Initializes a new instance of the class with the specified name and content. - An that contains the element name. - The contents of the element. + + Adds the specified content immediately before this node. + A content object that contains simple content or a collection of content objects to be added before this node. + The parent is . - - Initializes a new instance of the class with the specified name and content. - An that contains the element name. - The contents of the element. + + Adds the specified content immediately before this node. + A parameter list of content objects. + The parent is . - - Adds the specified content as children to this . - Content to be added to the streaming element. + + Returns a collection of the ancestor elements of this node. + An of of the ancestor elements of this node. - - Adds the specified content as children to this . - Content to be added to the streaming element. + + Returns a filtered collection of the ancestor elements of this node. Only elements that have a matching are included in the collection. + The to match. + An of of the ancestor elements of this node. Only elements that have a matching are included in the collection. + The nodes in the returned collection are in reverse document order. + This method uses deferred execution. - - Gets or sets the name of this streaming element. - An that contains the name of this streaming element. + + Compares two nodes to determine their relative XML document order. + First to compare. + Second to compare. + An containing 0 if the nodes are equal; -1 if n1 is before n2; 1 if n1 is after n2. + The two nodes do not share a common ancestor. - - Outputs this to the specified . - The stream to output this to. + + Creates an for this node. + An that can be used to read this node and its descendants. - - Serialize this streaming element to a . - A that the will be written to. + + Creates an with the options specified by the readerOptions parameter. + A object that specifies whether to omit duplicate namespaces. + An object. - - Serialize this streaming element to a file. - A that contains the name of the file. + + Compares the values of two nodes, including the values of all descendant nodes. + The first to compare. + The second to compare. + if the nodes are equal; otherwise . - - Serialize this streaming element to an . - A that the will be written to. + + Gets a comparer that can compare the relative position of two nodes. + An that can compare the relative position of two nodes. - - Outputs this to the specified , optionally specifying formatting behavior. - The stream to output this to. - A object that specifies formatting behavior. + + Returns a collection of the sibling elements after this node, in document order. + An of of the sibling elements after this node, in document order. - - Serialize this streaming element to a , optionally disabling formatting. - The to output the XML to. - A that specifies formatting behavior. + + Returns a filtered collection of the sibling elements after this node, in document order. Only elements that have a matching are included in the collection. + The to match. + An of of the sibling elements after this node, in document order. Only elements that have a matching are included in the collection. - - Serialize this streaming element to a file, optionally disabling formatting. - A that contains the name of the file. - A object that specifies formatting behavior. + + Returns a collection of the sibling elements before this node, in document order. + An of of the sibling elements before this node, in document order. - - Returns the formatted (indented) XML for this streaming element. - A containing the indented XML. + + Returns a filtered collection of the sibling elements before this node, in document order. Only elements that have a matching are included in the collection. + The to match. + An of of the sibling elements before this node, in document order. Only elements that have a matching are included in the collection. - - Returns the XML for this streaming element, optionally disabling formatting. - A that specifies formatting behavior. - A containing the XML. + + Gets a comparer that can compare two nodes for value equality. + A that can compare two nodes for value equality. - - Writes this streaming element to an . - An into which this method will write. + + Determines if the current node appears after a specified node in terms of document order. + The to compare for document order. + if this node appears after the specified node; otherwise . - - Represents a text node. + + Determines if the current node appears before a specified node in terms of document order. + The to compare for document order. + if this node appears before the specified node; otherwise . - - Initializes a new instance of the class. - The that contains the value of the node. + + Gets the next sibling node of this node. + The that contains the next sibling node. - - Initializes a new instance of the class from another object. - The node to copy from. + + Returns a collection of the sibling nodes after this node, in document order. + An of of the sibling nodes after this node, in document order. - - Gets the node type for this node. - The node type. For objects, this value is . + + Returns a collection of the sibling nodes before this node, in document order. + An of of the sibling nodes before this node, in document order. - - Gets or sets the value of this node. - A that contains the value of this node. + + Gets the previous sibling node of this node. + The that contains the previous sibling node. - - Writes this node to an . - An into which this method will write. + + Creates an from an . + An positioned at the node to read into this . + An that contains the node and its descendant nodes that were read from the reader. The runtime type of the node is determined by the node type () of the first node encountered in the reader. + The is not positioned on a recognized node type. + The underlying throws an exception. - - + + - - This class contains the LINQ to XML extension methods for XSD validation. - - - Gets the post-schema-validation infoset (PSVI) of a validated attribute. - An that has been previously validated. - A that contains the post-schema-validation infoset for an . - - - Gets the post-schema-validation infoset (PSVI) of a validated element. - An that has been previously validated. - A that contains the post-schema-validation infoset (PSVI) for an . + + Removes this node from its parent. + The parent is . - - This method validates that an conforms to an XSD in an . - The to validate. - An to validate against. - A for an event that occurs when the reader encounters validation errors. If null, throws an exception upon validation errors. - Thrown for XML Schema Definition Language (XSD) validation errors. + + Replaces this node with the specified content. + Content that replaces this node. - - This method validates that an conforms to a specified and an . - The to validate. - An that specifies the sub-tree to validate. - An to validate against. - A for an event that occurs when the reader encounters validation errors. If null, throws an exception upon validation errors. - Thrown for XML Schema Definition Language (XSD) validation errors. + + Replaces this node with the specified content. + A parameter list of the new content. - - Validates that an conforms to an XSD in an , optionally populating the XML tree with the post-schema-validation infoset (PSVI). - The to validate. - An to validate against. - A for an event that occurs when the reader encounters validation errors. If null, throws an exception upon validation errors. - A indicating whether to populate the post-schema-validation infoset (PSVI). - Thrown for XML Schema Definition Language (XSD) validation errors. + + Returns the indented XML for this node. + A containing the indented XML. - - This method validates that an sub-tree conforms to a specified and an . - The to validate. - An that specifies the sub-tree to validate. - An to validate against. - A for an event that occurs when the reader encounters validation errors. If null, throws an exception upon validation errors. - Thrown for XML Schema Definition Language (XSD) validation errors. + + Returns the XML for this node, optionally disabling formatting. + A that specifies formatting behavior. + A containing the XML. - - Validates that an conforms to a specified and an , optionally populating the XML tree with the post-schema-validation infoset (PSVI). - The to validate. - An that specifies the sub-tree to validate. - An to validate against. - A for an event that occurs when the reader encounters validation errors. If null, throws an exception upon validation errors. - A indicating whether to populate the post-schema-validation infoset (PSVI). - Thrown for XML Schema Definition Language (XSD) validation errors. + + Writes this node to an . + An into which this method will write. - - Validates that an sub-tree conforms to a specified and an , optionally populating the XML tree with the post-schema-validation infoset (PSVI). - The to validate. - An that specifies the sub-tree to validate. - An to validate against. - A for an event that occurs when the reader encounters validation errors. If null, throws an exception upon validation errors. - A indicating whether to populate the post-schema-validation infoset (PSVI). - Thrown for XML Schema Definition Language (XSD) validation errors. + + + + \ No newline at end of file