System.Xml Specifies the amount of input or output checking that the created and objects perform. The or object automatically detects whether document or fragment checking should be performed, and does the appropriate checking. In the case where you are wrapping another or object, the outer object does not do any additional conformance checking. Conformance checking is left up to the underlying object. The XML data is a well-formed XML fragment. The XML data is in conformance to the rules for a well-formed XML 1.0 document. Specifies how the or handle entities. Expands all entities and returns the expanded nodes. Expands character entities and returns general entities as nodes. Specifies formatting options for the . No special formatting is applied. This is the default. Causes child elements to be indented according to the and settings. Enables a class to return an from the current context or position. Returns the for the current position. The XmlNode for the current position. Provides an interface to enable a class to return line and position information. Gets a value indicating whether the class can return line information. true if and can be provided; otherwise, false. Gets the current line number. The current line number or 0 if no line information is available (for example, returns false). Gets the current line position. The current line position or 0 if no line information is available (for example, returns false). Provides read-only access to a set of prefix and namespace mappings. Gets a collection of defined prefix-namespace mappings that are currently in scope. An that contains the current in-scope namespaces. An value that specifies the type of namespace nodes to return. Gets the namespace URI mapped to the specified prefix. The namespace URI that is mapped to the prefix; null if the prefix is not mapped to a namespace URI. The prefix whose namespace URI you wish to find. Gets the prefix that is mapped to the specified namespace URI. The prefix that is mapped to the namespace URI; null if the namespace URI is not mapped to a prefix. The namespace URI whose prefix you wish to find. Implements a single-threaded . Initializes a new instance of the NameTable class. Atomizes the specified string and adds it to the NameTable. The atomized string or the existing string if one already exists in the NameTable. If is zero, String.Empty is returned. The character array containing the string to add. The zero-based index into the array specifying the first character of the string. The number of characters in the string. 0 > -or- >= .Length -or- >= .Length The above conditions do not cause an exception to be thrown if =0. < 0. Atomizes the specified string and adds it to the NameTable. The atomized string or the existing string if it already exists in the NameTable. The string to add. is null. Gets the atomized string containing the same characters as the specified range of characters in the given array. The atomized string or null if the string has not already been atomized. If is zero, String.Empty is returned. The character array containing the name to find. The zero-based index into the array specifying the first character of the name. The number of characters in the name. 0 > -or- >= .Length -or- >= .Length The above conditions do not cause an exception to be thrown if =0. < 0. Gets the atomized string with the specified value. The atomized string object or null if the string has not already been atomized. The name to find. is null. Specifies how to handle line breaks. New line characters are replaced to match the character specified in the property. New line characters are entitized. This setting preserves all characters when the output is read by a normalizing . The new line characters are unchanged. The output is the same as the input. Specifies the state of the reader. The Read method has not been called. The Read method has been called. Additional methods may be called on the reader. An error occurred that prevents the read operation from continuing. The end of the file has been reached successfully. The method has been called. Specifies the type of validation to perform. No validation is performed. This setting creates an XML 1.0 compliant non-validating parser. Validates if DTD or schema information is found. Validates according to the DTD. Validate according to XML-Data Reduced (XDR) schemas, including inline XDR schemas. XDR schemas are recognized using the x-schema namespace prefix or the property. Validate according to XML Schema definition language (XSD) schemas, including inline XML Schemas. XML Schemas are associated with namespace URIs either by using the schemaLocation attribute or the provided Schemas property. Specifies how white space is handled. Return Whitespace and SignificantWhitespace nodes. This is the default. Return SignificantWhitespace nodes only. Return no Whitespace and no SignificantWhitespace nodes. Specifies the state of the . Indicates that a Write method has not yet been called. Indicates that the prolog is being written. Indicates that an element start tag is being written. Indicates that an attribute value is being written. Indicates that element content is being written. Indicates that the method has been called. An exception has been thrown, which has left the in an invalid state. You can call the method to put the in the state. Any other method calls results in an . Represents an attribute. Valid and default values for the attribute are defined in a document type definition (DTD) or schema. Initializes a new instance of the class. The namespace prefix. The local name of the attribute. The namespace uniform resource identifier (URI). The parent XML document. Adds the specified node to the end of the list of child nodes, of this node. The added. The to add. This node is of a type that does not allow child nodes of the type of the node.The is an ancestor of this node. The was created from a different document than the one that created this node.This node is read-only. Gets the base Uniform Resource Identifier (URI) of the node. The location from which the node was loaded or String.Empty if the node has no base URI. Attribute nodes have the same base URI as their owner element. If an attribute node does not have an owner element, BaseURI returns String.Empty. Creates a duplicate of this node. The duplicate node. true to recursively clone the subtree under the specified node; false to clone only the node itself Gets or sets the concatenated values of the node and all its children. The concatenated values of the node and all its children. For attribute nodes, this property has the same functionality as the property. Gets or sets the value of the attribute. The attribute value. The XML specified when setting this property is not well-formed. Inserts the specified node immediately after the specified reference node. The inserted. The to insert. The that is the reference node. The is placed after the . This node is of a type that does not allow child nodes of the type of the node.The is an ancestor of this node. The was created from a different document than the one that created this node.The is not a child of this node.This node is read-only. Inserts the specified node immediately before the specified reference node. The inserted. The to insert. The that is the reference node. The is placed before this node. The current node is of a type that does not allow child nodes of the type of the node.The is an ancestor of this node. The was created from a different document than the one that created this node.The is not a child of this node.This node is read-only. Gets the local name of the node. The name of the attribute node with the prefix removed. In the following example <book bk:genre= 'novel'>, the LocalName of the attribute is genre. Gets the qualified name of the node. The qualified name of the attribute node. Gets the namespace URI of this node. The namespace URI of this node. If the attribute is not explicitly given a namespace, this property returns String.Empty. Gets the type of the current node. The node type for XmlAttribute nodes is XmlNodeType.Attribute. Gets the to which this node belongs. An . Gets the to which the attribute belongs. The XmlElement that the attribute belongs to or null if this attribute is not part of an XmlElement. Gets the parent of this node. For XmlAttribute nodes, this property always returns null. For XmlAttribute nodes, this property always returns null. Gets or sets the namespace prefix of this node. The namespace prefix of this node. If there is no prefix, this property returns String.Empty. This node is read-only. The specified prefix contains an invalid character.The specified prefix is malformed.The namespaceURI of this node is null.The specified prefix is "xml", and the namespaceURI of this node is different from "http://www.w3.org/XML/1998/namespace".This node is an attribute, the specified prefix is "xmlns", and the namespaceURI of this node is different from "http://www.w3.org/2000/xmlns/".This node is an attribute, and the qualifiedName of this node is "xmlns" [Namespaces]. Adds the specified node to the beginning of the list of child nodes for this node. The added. The to add. If it is an , the entire contents of the document fragment are moved into the child list of this node. This node is of a type that does not allow child nodes of the type of the node.The is an ancestor of this node. The was created from a different document than the one that created this node.This node is read-only. Removes the specified child node. The removed. The to remove. The is not a child of this node. Or this node is read-only. Replaces the child node specified with the new child node specified. The replaced. The new child . The to replace. This node is of a type that does not allow child nodes of the type of the node.The is an ancestor of this node. The was created from a different document than the one that created this node.This node is read-only.The is not a child of this node. Gets the post-schema-validation-infoset that has been assigned to this node as a result of schema validation. An containing the post-schema-validation-infoset of this node. Gets a value indicating whether the attribute value was explicitly set. true if this attribute was explicitly given a value in the original instance document; otherwise, false. A value of false indicates that the value of the attribute came from the DTD. Gets or sets the value of the node. The value returned depends on the of the node. For XmlAttribute nodes, this property is the value of attribute. The node is read-only and a set operation is called. Saves all the children of the node to the specified . The XmlWriter to which you want to save. Saves the node to the specified . The XmlWriter to which you want to save. Represents a collection of attributes that can be accessed by name or index. Inserts the specified attribute as the last node in the collection. The XmlAttribute to append to the collection. The to insert. was created from a document different from the one that created this collection. Copies all the objects from this collection into the given array. The array that is the destination of the objects copied from this collection. The index in the array where copying begins. Inserts the specified attribute immediately after the specified reference attribute. The XmlAttribute to insert into the collection. The to insert. The that is the reference attribute. is placed after the . The was created from a document different from the one that created this collection. Or the is not a member of this collection. Inserts the specified attribute immediately before the specified reference attribute. The XmlAttribute to insert into the collection. The to insert. The that is the reference attribute. is placed before the . The was created from a document different from the one that created this collection. Or the is not a member of this collection. Gets the attribute with the specified index. The at the specified index. The index of the attribute. The index being passed in is out of range. Gets the attribute with the specified name. The with the specified name. If the attribute does not exist, this property returns null. The qualified name of the attribute. Gets the attribute with the specified local name and namespace Uniform Resource Identifier (URI). The with the specified local name and namespace URI. If the attribute does not exist, this property returns null. The local name of the attribute. The namespace URI of the attribute. Inserts the specified attribute as the first node in the collection. The XmlAttribute added to the collection. The to insert. Removes the specified attribute from the collection. The node removed or null if it is not found in the collection. The to remove. Removes all attributes from the collection. Removes the attribute corresponding to the specified index from the collection. Returns null if there is no attribute at the specified index. The index of the node to remove. The first node has index 0. Adds a using its property If the replaces an existing node with the same name, the old node is returned; otherwise, the added node is returned. An attribute node to store in this collection. The node will later be accessible using the name of the node. If a node with that name is already present in the collection, it is replaced by the new one; otherwise, the node is appended to the end of the collection. was created from a different than the one that created this collection.This XmlAttributeCollection is read-only. is an that is already an attribute of another object. To re-use attributes in other elements, you must clone the XmlAttribute objects you want to re-use. For a description of this member, see . The array that is the destination of the objects copied from this collection. The index in the array where copying begins. For a description of this member, see . For a description of this member, see . For a description of this member, see . Represents a CDATA section. Initializes a new instance of the class. Creates a duplicate of this node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself. Because CDATA nodes do not have children, regardless of the parameter setting, the cloned node will always include the data content. Gets the local name of the node. For CDATA nodes, the local name is #cdata-section. Gets the qualified name of the node. For CDATA nodes, the name is #cdata-section. Gets the type of the current node. The node type. For CDATA nodes, the value is XmlNodeType.CDATA. Saves the children of the node to the specified . The XmlWriter to which you want to save. Saves the node to the specified . The XmlWriter to which you want to save. Provides text manipulation methods that are used by several classes. Initializes a new instance of the class. Appends the specified string to the end of the character data of the node. The string to insert into the existing string. Contains the data of the node. The data of the node. Removes a range of characters from the node. The position within the string to start deleting. The number of characters to delete. Gets or sets the concatenated values of the node and all the children of the node. The concatenated values of the node and all the children of the node. Inserts the specified string at the specified character offset. The position within the string to insert the supplied string data. The string data that is to be inserted into the existing string. Gets the length of the data, in characters. The length, in characters, of the string in the property. The length may be zero; that is, CharacterData nodes can be empty. Replaces the specified number of characters starting at the specified offset with the specified string. The position within the string to start replacing. The number of characters to replace. The new data that replaces the old string data. Retrieves a substring of the full string from the specified range. The substring corresponding to the specified range. The position within the string to start retrieving. An offset of zero indicates the starting point is at the start of the data. The number of characters to retrieve. Gets or sets the value of the node. The value of the node. Node is read-only. Represents the content of an XML comment. Initializes a new instance of the class. The content of the comment element. The parent XML document. Creates a duplicate of this node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself. Because comment nodes do not have children, the cloned node always includes the text content, regardless of the parameter setting. Gets the local name of the node. For comment nodes, the value is #comment. Gets the qualified name of the node. For comment nodes, the value is #comment. Gets the type of the current node. For comment nodes, the value is XmlNodeType.Comment. Saves all the children of the node to the specified . Because comment nodes do not have children, this method has no effect. The XmlWriter to which you want to save. Saves the node to the specified . The XmlWriter to which you want to save. Encodes and decodes XML names and provides methods for converting between common language runtime types and XML Schema definition language (XSD) types. When converting data types the values returned are locale independent. Initializes a new instance of the class. Decodes a name. This method does the reverse of the and methods. The decoded name. The name to be transformed. Converts the name to a valid XML local name. The encoded name. The name to be encoded. Converts the name to a valid XML name. Returns the name with any invalid characters replaced by an escape string. A name to be translated. Verifies the name is valid according to the XML specification. The encoded name. The name to be encoded. Converts the to a equivalent. A Boolean value, that is, true or false. The string to convert. is null. does not represent a Boolean value. Converts the to a equivalent. A Byte equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Converts the to a equivalent. A Char representing the single character. The string containing a single character to convert. The value of the parameter is null. The parameter contains more than one character. Converts the to a equivalent. A DateTime equivalent of the string. The string to convert. is null. is an empty string or is not in the correct format. Converts the to a equivalent. A DateTime equivalent of the string. The string to convert. The format structure to apply to the converted DateTime. Valid formats include "yyyy-MM-ddTHH:mm:sszzzzzz" and its subsets. The string is validated against this format. is null. or is String.Empty -or- does not contain a date and time that corresponds to . Converts the to a equivalent. A DateTime equivalent of the string. The string to convert. An array containing the format structures to apply to the converted DateTime. Valid formats include "yyyy-MM-ddTHH:mm:sszzzzzz" and its subsets. is null. or an element of is String.Empty -or- does not contain a date and time that corresponds to any of the elements of . Converts the to a using the specified A equivalent of the . The value to convert. One of the values that specify whether the date should be converted to local time or preserved as Coordinated Universal Time (UTC), if it is a UTC date. is null. The value is null. is an empty string or is not in a valid format. Converts the to a equivalent. A Decimal equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Converts the to a equivalent. A Double equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Converts the to a equivalent. A Guid equivalent of the string. The string to convert. Converts the to a equivalent. An Int16 equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Converts the to a equivalent. An Int32 equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Converts the to a equivalent. An Int64 equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Converts the to a equivalent. An SByte equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Converts the to a equivalent. A Single equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Converts the to a . A string representation of the Boolean, that is, "true" or "false". The value to convert. Converts the to a . A string representation of the Byte. The value to convert. Converts the to a . A string representation of the Char. The value to convert. Converts the to a . A string representation of the DateTime in the format yyyy-MM-ddTHH:mm:ss where 'T' is a constant literal. The value to convert. Converts the to a . A string representation of the DateTime in the specified format. The value to convert. The format structure that defines how to display the converted string. Valid formats include "yyyy-MM-ddTHH:mm:sszzzzzz" and its subsets. Converts the to a using the specified. A equivalent of the . The value to convert. One of the values that specify how to treat the value. The value is not valid. The or value is null. Converts the to a . A string representation of the Decimal. The value to convert. Converts the to a . A string representation of the Double. The value to convert. Converts the to a . A string representation of the Guid. The value to convert. Converts the to a . A string representation of the Int16. The value to convert. Converts the to a . A string representation of the Int32. The value to convert. Converts the to a . A string representation of the Int64. The value to convert. Converts the to a . A string representation of the SByte. The value to convert. Converts the to a . A string representation of the Single. The value to convert. Converts the to a . A string representation of the TimeSpan. The value to convert. Converts the to a . A string representation of the UInt16. The value to convert. Converts the to a . A string representation of the UInt32. The value to convert. Converts the to a . A string representation of the UInt64. The value to convert. Converts the to a equivalent. A TimeSpan equivalent of the string. The string to convert. The string format must conform to the W3C XML Schema Part 2: Datatypes recommendation for duration. is not in correct format to represent a TimeSpan value. Converts the to a equivalent. A UInt16 equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Converts the to a equivalent. A UInt32 equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Converts the to a equivalent. A UInt64 equivalent of the string. The string to convert. is null. is not in the correct format. represents a number less than or greater than . Verifies that the name is a valid name according to the W3C Extended Markup Language recommendation. The name, if it is a valid XML name. The name to verify. is not a valid XML name. is null or String.Empty. Verifies that the name is a valid NCName according to the W3C Extended Markup Language recommendation. The name, if it is a valid NCName. The name to verify. is null or String.Empty. is not a valid NCName. Verifies that the string is a valid NMTOKEN according to the W3C XML Schema Part2: Datatypes recommendation The name token, if it is a valid NMTOKEN. The string you wish to verify. The string is not a valid name token. is null. Verifies that the string is a valid token according to the W3C XML Schema Part2: Datatypes recommendation. The token, if it is a valid token. The string value you wish to verify. The string value is not a valid token. Specifies how to treat the time value when converting between string and . Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. Treat as a UTC. If the object represents a local time, it is converted to a UTC. Treat as a local time if a is being converted to a string. Time zone information should be preserved when converting. Represents the XML declaration node <?xml version='1.0'...?>. Initializes a new instance of the class. The XML version; see the property. The encoding scheme; see the property. Indicates whether the XML document depends on an external DTD; see the property. The parent XML document. Creates a duplicate of this node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself. Because XmlDeclaration nodes do not have children, the cloned node always includes the data value, regardless of the parameter setting. Gets or sets the encoding level of the XML document. The valid character encoding name. The most commonly supported character encoding names for XML are the following: Category Encoding Names Unicode UTF-8, UTF-16 ISO 10646 ISO-10646-UCS-2, ISO-10646-UCS-4 ISO 8859 ISO-8859-n (where "n" is a digit from 1 to 9) JIS X-0208-1997 ISO-2022-JP, Shift_JIS, EUC-JP This value is optional. If a value is not set, this property returns String.Empty.If an encoding attribute is not included, UTF-8 encoding is assumed when the document is written or saved out. Gets or sets the concatenated values of the XmlDeclaration. The concatenated values of the XmlDeclaration (that is, everything between <?xml and ?>). Gets the local name of the node. For XmlDeclaration nodes, the local name is xml. Gets the qualified name of the node. For XmlDeclaration nodes, the name is xml. Gets the type of the current node. For XmlDeclaration nodes, this value is XmlNodeType.XmlDeclaration. Gets or sets the value of the standalone attribute. Valid values are yes if all entity declarations required by the XML document are contained within the document or no if an external document type definition (DTD) is required. If a standalone attribute is not present in the XML declaration, this property returns String.Empty. Gets or sets the value of the XmlDeclaration. The contents of the XmlDeclaration (that is, everything between <?xml and ?>). Gets the XML version of the document. The value is always 1.0. Saves the children of the node to the specified . Because XmlDeclaration nodes do not have children, this method has no effect. The XmlWriter to which you want to save. Saves the node to the specified . The XmlWriter to which you want to save. Represents an XML document. Initializes a new instance of the class. Initializes a new instance of the XmlDocument class with the specified . The XmlImplementation to use. Initializes a new instance of the XmlDocument class with the specified . The XmlNameTable to use. Gets the base URI of the current node. The location from which the node was loaded. Creates a duplicate of this node. The cloned XmlDocument node. true to recursively clone the subtree under the specified node; false to clone only the node itself. Creates an with the specified . The new XmlAttribute. The qualified name of the attribute. If the name contains a colon, the property reflects the part of the name preceding the first colon and the property reflects the part of the name following the first colon. The remains empty unless the prefix is a recognized built-in prefix such as xmlns. In this case NamespaceURI has a value of http://www.w3.org/2000/xmlns/. Creates an with the specified qualified name and . The new XmlAttribute. The qualified name of the attribute. If the name contains a colon then the property will reflect the part of the name preceding the colon and the property will reflect the part of the name after the colon. The namespaceURI of the attribute. If the qualified name includes a prefix of xmlns, then this parameter must be http://www.w3.org/2000/xmlns/. Creates an with the specified , , and . The new XmlAttribute. The prefix of the attribute (if any). String.Empty and null are equivalent. The local name of the attribute. The namespace URI of the attribute (if any). String.Empty and null are equivalent. If is xmlns, then this parameter must be http://www.w3.org/2000/xmlns/; otherwise an exception is thrown. Creates an containing the specified data. The new XmlCDataSection. The content of the new XmlCDataSection. Creates an containing the specified data. The new XmlComment. The content of the new XmlComment. Creates a default attribute with the specified prefix, local name and namespace URI. The new . The prefix of the attribute (if any). The local name of the attribute. The namespace URI of the attribute (if any). Creates an . The new XmlDocumentFragment. Returns a new object. The new XmlDocumentType. Name of the document type. The public identifier of the document type or null. You can specify a public URI and also a system identifier to identify the location of the external DTD subset. The system identifier of the document type or null. Specifies the URL of the file location for the external DTD subset. The DTD internal subset of the document type or null. Creates an element with the specified name. The new XmlElement. The qualified name of the element. If the name contains a colon then the property reflects the part of the name preceding the colon and the property reflects the part of the name after the colon. The qualified name cannot include a prefix of'xmlns'. Creates an with the qualified name and . The new XmlElement. The qualified name of the element. If the name contains a colon then the property will reflect the part of the name preceding the colon and the property will reflect the part of the name after the colon. The qualified name cannot include a prefix of'xmlns'. The namespace URI of the element. Creates an element with the specified , , and . The new . The prefix of the new element (if any). String.Empty and null are equivalent. The local name of the new element. The namespace URI of the new element (if any). String.Empty and null are equivalent. Creates an with the specified name. The new XmlEntityReference. The name of the entity reference. The name is invalid (for example, names starting with'#' are invalid.) Creates a new object for navigating this document. An object. Creates an object for navigating this document positioned on the specified. An object. The you want the navigator initially positioned on. Creates an with the specified node type, , and . The new XmlNode. String version of the of the new node. This parameter must be one of the values listed in the table below. The qualified name of the new node. If the name contains a colon, it is parsed into and components. The namespace URI of the new node. The name was not provided and the XmlNodeType requires a name; or is not one of the strings listed below. Creates an with the specified , , and . The new XmlNode. The XmlNodeType of the new node. The qualified name of the new node. If the name contains a colon then it is parsed into and components. The namespace URI of the new node. The name was not provided and the XmlNodeType requires a name. Creates a with the specified , , , and . The new XmlNode. The XmlNodeType of the new node. The prefix of the new node. The local name of the new node. The namespace URI of the new node. The name was not provided and the XmlNodeType requires a name. Creates an with the specified name and data. The new XmlProcessingInstruction. The name of the processing instruction. The data for the processing instruction. Creates an node. A new XmlSignificantWhitespace node. The string must contain only the following characters &#20; &#10; &#13; and &#9; Creates an with the specified text. The new XmlText node. The text for the Text node. Creates an node. A new XmlWhitespace node. The string must contain only the following characters &#20; &#10; &#13; and &#9; Creates an node with the specified values. The new XmlDeclaration node. The version must be "1.0". The value of the encoding attribute. This is the encoding that is used when you save the to a file or a stream; therefore, it must be set to a string supported by the class, otherwise fails. If this is null or String.Empty, the Save method does not write an encoding attribute on the XML declaration and therefore the default encoding, UTF-8, is used.Note: If the XmlDocument is saved to either a or an , this encoding value is discarded. Instead, the encoding of the TextWriter or the XmlTextWriter is used. This ensures that the XML written out can be read back using the correct encoding. The value must be either "yes" or "no". If this is null or String.Empty, the Save method does not write a standalone attribute on the XML declaration. The values of or are something other than the ones specified above. Gets the root for the document. The XmlElement that represents the root of the XML document tree. If no root exists, null is returned. Gets the node containing the DOCTYPE declaration. The containing the DocumentType (DOCTYPE declaration). Gets the with the specified ID. The XmlElement with the matching ID or null if no matching element is found. The attribute ID to match. Returns an containing a list of all descendant elements that match the specified . An containing a list of all matching nodes. If no nodes match , the returned collection will be empty. The qualified name to match. It is matched against the Name property of the matching node. The special value "*" matches all tags. Returns an containing a list of all descendant elements that match the specified and . An containing a list of all matching nodes. If no nodes match the specified and , the returned collection will be empty. The LocalName to match. The special value "*" matches all tags. NamespaceURI to match. Gets the object for the current document. The XmlImplementation object for the current document. Imports a node from another document to the current document. The imported . The node being imported. true to perform a deep clone; otherwise, false. Calling this method on a node type which cannot be imported. Gets or sets the markup representing the children of the current node. The markup of the children of the current node. The XML specified when setting this property is not well-formed. Gets a value indicating whether the current node is read-only. true if the current node is read-only; otherwise false. XmlDocument nodes always return false. Loads the XML document from the specified stream. The stream containing the XML document to load. There is a load or parse error in the XML. In this case, a is raised. Loads the XML document from the specified . The TextReader used to feed the XML data into the document. There is a load or parse error in the XML. In this case, the document remains empty. Loads the XML document from the specified URL. URL for the file containing the XML document to load. The URL can be either a local file or an HTTP URL (a Web address). There is a load or parse error in the XML. In this case, a is raised. is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . is null. The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters. The specified path is invalid (for example, it is on an unmapped drive). An I/O error occurred while opening the file. specified a file that is read-only.-or- This operation is not supported on the current platform.-or- specified a directory.-or- The caller does not have the required permission. The file specified in was not found. is in an invalid format. The caller does not have the required permission. Loads the XML document from the specified . The XmlReader used to feed the XML data into the document. There is a load or parse error in the XML. In this case, the document remains empty. Loads the XML document from the specified string. String containing the XML document to load. There is a load or parse error in the XML. In this case, the document remains empty. Gets the local name of the node. For XmlDocument nodes, the local name is #document. Gets the qualified name of the node. For XmlDocument nodes, the name is #document. Gets the associated with this implementation. An XmlNameTable enabling you to get the atomized version of a string within the document. Occurs when the of a node belonging to this document has been changed. Occurs when the of a node belonging to this document is about to be changed. Occurs when a node belonging to this document has been inserted into another node. Occurs when a node belonging to this document is about to be inserted into another node. Occurs when a node belonging to this document has been removed from its parent. Occurs when a node belonging to this document is about to be removed from the document. Gets the type of the current node. The node type. For XmlDocument nodes, this value is XmlNodeType.Document. Gets the to which the current node belongs. For XmlDocument nodes ( equals XmlNodeType.Document), this property always returns null. Gets the parent node of this node (for nodes that can have parents). Always returns null. Gets or sets a value indicating whether to preserve white space in element content. true to preserve white space; otherwise false. The default is false. Creates an object based on the information in the . The reader must be positioned on a node or attribute. The new XmlNode or null if no more nodes exist. The XML source The reader is positioned on a node type that does not translate to a valid DOM node (for example, EndElement or EndEntity). Saves the XML document to the specified stream. The stream to which you want to save. The operation would not result in a well formed XML document (for example, no document element or duplicate XML declarations). Saves the XML document to the specified . The TextWriter to which you want to save. The operation would not result in a well formed XML document (for example, no document element or duplicate XML declarations). Saves the XML document to the specified file. The location of the file where you want to save the document. The operation would not result in a well formed XML document (for example, no document element or duplicate XML declarations). Saves the XML document to the specified . The XmlWriter to which you want to save. The operation would not result in a well formed XML document (for example, no document element or duplicate XML declarations). Returns the Post-Schema-Validation-Infoset (PSVI) of the node. The object representing the PSVI of the node. Gets or sets the object associated with this . An object containing the XML Schema Definition Language (XSD) schemas associated with this ; otherwise, an empty object. Validates the against the XML Schema Definition Language (XSD) schemas contained in the property. The object that receives information about schema validation warnings and errors. A schema validation event occurred and no object was specified. Validates the object specified against the XML Schema Definition Language (XSD) schemas in the property. The object that receives information about schema validation warnings and errors. The object created from an to validate. The object parameter was not created from an . The object parameter is not an element, attribute, document fragment, or the root node. A schema validation event occurred and no object was specified. Saves all the children of the XmlDocument node to the specified . The XmlWriter to which you want to save. Saves the XmlDocument node to the specified . The XmlWriter to which you want to save. Sets the to use for resolving external resources. The XmlResolver to use.In version 1.1 of the.NET Framework, the caller must be fully trusted in order to specify an XmlResolver. This property is set to null and an external DTD or entity is encountered. Represents a lightweight object that is useful for tree insert operations. Initializes a new instance of the class. The XML document that is the source of the fragment. Creates a duplicate of this node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself. Gets or sets the markup representing the children of this node. The markup of the children of this node. The XML specified when setting this property is not well-formed. Gets the local name of the node. For XmlDocumentFragment nodes, the local name is #document-fragment. Gets the qualified name of the node. For XmlDocumentFragment, the name is #document-fragment. Gets the type of the current node. For XmlDocumentFragment nodes, this value is XmlNodeType.DocumentFragment. Gets the to which this node belongs. The XmlDocument to which this node belongs. Gets the parent of this node (for nodes that can have parents). The parent of this node.For XmlDocumentFragment nodes, this property is always null. Saves all the children of the node to the specified . The XmlWriter to which you want to save. Saves the node to the specified . The XmlWriter to which you want to save. Represents the document type declaration. Initializes a new instance of the class. The qualified name; see the property. The public identifier; see the property. The system identifier; see the property. The DTD internal subset; see the property. The parent document. Creates a duplicate of this node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself. For document type nodes, the cloned node always includes the subtree, regardless of the parameter setting. Gets the collection of nodes declared in the document type declaration. An containing the XmlEntity nodes. The returned XmlNamedNodeMap is read-only. Gets the value of the document type definition (DTD) internal subset on the DOCTYPE declaration. The DTD internal subset on the DOCTYPE. If there is no DTD internal subset, String.Empty is returned. Gets a value indicating whether the node is read-only. true if the node is read-only; otherwise false.Because DocumentType nodes are read-only, this property always returns true. Gets the local name of the node. For DocumentType nodes, this property returns the name of the document type. Gets the qualified name of the node. For DocumentType nodes, this property returns the name of the document type. Gets the type of the current node. For DocumentType nodes, this value is XmlNodeType.DocumentType. Gets the collection of nodes present in the document type declaration. An containing the XmlNotation nodes. The returned XmlNamedNodeMap is read-only. Gets the value of the public identifier on the DOCTYPE declaration. The public identifier on the DOCTYPE. If there is no public identifier, null is returned. Gets the value of the system identifier on the DOCTYPE declaration. The system identifier on the DOCTYPE. If there is no system identifier, null is returned. Saves all the children of the node to the specified . For XmlDocumentType nodes, this method has no effect. The XmlWriter to which you want to save. Saves the node to the specified . The XmlWriter to which you want to save. Represents an element. Initializes a new instance of the class. The namespace prefix; see the property. The local name; see the property. The namespace URI; see the property. The parent XML document. Gets an containing the list of attributes for this node. containing the list of attributes for this node. Creates a duplicate of this node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself (and its attributes if the node is an XmlElement). Returns the value for the attribute with the specified name. The value of the specified attribute. An empty string is returned if a matching attribute is not found or if the attribute does not have a specified or default value. The name of the attribute to retrieve. This is a qualified name. It is matched against the Name property of the matching node. Returns the value for the attribute with the specified local name and namespace URI. The value of the specified attribute. An empty string is returned if a matching attribute is not found or if the attribute does not have a specified or default value. The local name of the attribute to retrieve. The namespace URI of the attribute to retrieve. Returns the XmlAttribute with the specified name. The specified XmlAttribute or null if a matching attribute was not found. The name of the attribute to retrieve. This is a qualified name. It is matched against the Name property of the matching node. Returns the with the specified local name and namespace URI. The specified XmlAttribute or null if a matching attribute was not found. The local name of the attribute. The namespace URI of the attribute. Returns an containing a list of all descendant elements that match the specified . An containing a list of all matching nodes. The name tag to match. This is a qualified name. It is matched against the Name property of the matching node. The asterisk (*) is a special value that matches all tags. Returns an containing a list of all descendant elements that match the specified and . An containing a list of all matching nodes. The local name to match. The asterisk (*) is a special value that matches all tags. The namespace URI to match. Determines whether the current node has an attribute with the specified name. true if the current node has the specified attribute; otherwise, false. The name of the attribute to find. This is a qualified name. It is matched against the Name property of the matching node. Determines whether the current node has an attribute with the specified local name and namespace URI. true if the current node has the specified attribute; otherwise, false. The local name of the attribute to find. The namespace URI of the attribute to find. Gets a boolean value indicating whether the current node has any attributes. true if the current node has attributes; otherwise, false. Gets or sets the concatenated values of the node and all its children. The concatenated values of the node and all its children. Gets or sets the markup representing just the children of this node. The markup of the children of this node. The XML specified when setting this property is not well-formed. Gets or sets the tag format of the element. Returns true if the element is to be serialized in the short tag format "<item/>"; false for the long format "<item></item>".When setting this property, if set to true, the children of the element are removed and the element is serialized in the short tag format. If set to false, the value of the property is changed (regardless of whether or not the element has content); if the element is empty, it is serialized in the long format.This property is a Microsoft extension to the Document Object Model (DOM). Gets the local name of the current node. The name of the current node with the prefix removed. For example, LocalName is book for the element <bk:book>. Gets the qualified name of the node. The qualified name of the node. For XmlElement nodes, this is the tag name of the element. Gets the namespace URI of this node. The namespace URI of this node. If there is no namespace URI, this property returns String.Empty. Gets the immediately following this element. The XmlNode immediately following this element. Gets the type of the current node. The node type. For XmlElement nodes, this value is XmlNodeType.Element. Gets the to which this node belongs. The XmlDocument to which this element belongs. Gets or sets the namespace prefix of this node. The namespace prefix of this node. If there is no prefix, this property returns String.Empty. This node is read-only The specified prefix contains an invalid character.The specified prefix is malformed.The namespaceURI of this node is null.The specified prefix is "xml" and the namespaceURI of this node is different from http://www.w3.org/XML/1998/namespace. Removes all specified attributes and children of the current node. Default attributes are not removed. Removes all specified attributes from the element. Default attributes are not removed. Removes an attribute by name. The name of the attribute to remove.This is a qualified name. It is matched against the Name property of the matching node. The node is read-only. Removes an attribute with the specified local name and namespace URI. (If the removed attribute has a default value, it is immediately replaced). The local name of the attribute to remove. The namespace URI of the attribute to remove. The node is read-only. Removes the attribute node with the specified index from the element. (If the removed attribute has a default value, it is immediately replaced). The attribute node removed or null if there is no node at the given index. The index of the node to remove. The first node has index 0. Removes the specified by the local name and namespace URI. (If the removed attribute has a default value, it is immediately replaced). The removed XmlAttribute or null if the XmlElement does not have a matching attribute node. The local name of the attribute. The namespace URI of the attribute. This node is read-only. Removes the specified . The removed XmlAttribute or null if is not an attribute node of the XmlElement. The XmlAttribute node to remove. If the removed attribute has a default value, it is immediately replaced. This node is read-only. Gets the post schema validation infoset that has been assigned to this node as a result of schema validation. An object containing the post schema validation infoset of this node. Sets the value of the attribute with the specified name. The name of the attribute to create or alter. This is a qualified name. If the name contains a colon it is parsed into prefix and local name components. The value to set for the attribute. The specified name contains an invalid character. The node is read-only. Sets the value of the attribute with the specified local name and namespace URI. The attribute value. The local name of the attribute. The namespace URI of the attribute. The value to set for the attribute. Adds the specified . The XmlAttribute to add. The local name of the attribute. The namespace URI of the attribute. Adds the specified . If the attribute replaces an existing attribute with the same name, the old XmlAttribute is returned; otherwise, null is returned. The XmlAttribute node to add to the attribute collection for this element. The was created from a different document than the one that created this node. Or this node is read-only. The is already an attribute of another XmlElement object. You must explicitly clone XmlAttribute nodes to re-use them in other XmlElement objects. Saves all the children of the node to the specified . The XmlWriter to which you want to save. Saves the current node to the specified . The XmlWriter to which you want to save. Represents an entity declaration, such as <!ENTITY... >. Gets the base Uniform Resource Identifier (URI) of the current node. The location from which the node was loaded. Creates a duplicate of this node. Entity nodes cannot be cloned. Calling this method on an object throws an exception. true to recursively clone the subtree under the specified node; false to clone only the node itself. Entity nodes cannot be cloned. Calling this method on an object throws an exception. Gets the concatenated values of the entity node and all its children. The concatenated values of the node and all its children. Attempting to set the property. Gets the markup representing the children of this node. For XmlEntity nodes, String.Empty is returned. Attempting to set the property. Gets a value indicating whether the node is read-only. true if the node is read-only; otherwise false.Because XmlEntity nodes are read-only, this property always returns true. Gets the name of the node without the namespace prefix. For XmlEntity nodes, this property returns the name of the entity. Gets the name of the node. The name of the entity. Gets the type of the node. The node type. For XmlEntity nodes, the value is XmlNodeType.Entity. Gets the name of the optional NDATA attribute on the entity declaration. The name of the NDATA attribute. If there is no NDATA, null is returned. Gets the markup representing this node and all its children. For XmlEntity nodes, String.Empty is returned. Gets the value of the public identifier on the entity declaration. The public identifier on the entity. If there is no public identifier, null is returned. Gets the value of the system identifier on the entity declaration. The system identifier on the entity. If there is no system identifier, null is returned. Saves all the children of the node to the specified . For XmlEntity nodes, this method has no effect. The XmlWriter to which you want to save. Saves the node to the specified . For XmlEntity nodes, this method has no effect. The XmlWriter to which you want to save. Represents an entity reference node. Initializes a new instance of the class. The name of the entity reference; see the property. The parent XML document. Gets the base Uniform Resource Identifier (URI) of the current node. The location from which the node was loaded. Creates a duplicate of this node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself. For XmlEntityReference nodes, this method always returns an entity reference node with no children. The replacement text is set when the node is inserted into a parent. Gets a value indicating whether the node is read-only. true if the node is read-only; otherwise false.Because XmlEntityReference nodes are read-only, this property always returns true. Gets the local name of the node. For XmlEntityReference nodes, this property returns the name of the entity referenced. Gets the name of the node. The name of the entity referenced. Gets the type of the node. The node type. For XmlEntityReference nodes, the value is XmlNodeType.EntityReference. Gets or sets the value of the node. The value of the node. For XmlEntityReference nodes, this property returns null. Node is read-only. Setting the property. Saves all the children of the node to the specified . The XmlWriter to which you want to save. Saves the node to the specified . The XmlWriter to which you want to save. Returns detailed information about the last exception. Initializes a new instance of the XmlException class. Initializes a new instance of the XmlException class using the information in the and objects. The SerializationInfo object containing all the properties of an XmlException. The StreamingContext object containing the context information. Initializes a new instance of the XmlException class with a specified error message. The error description. Initializes a new instance of the XmlException class. The description of the error condition. The that threw the XmlException, if any. This value can be null. Initializes a new instance of the XmlException class with the specified message, inner exception, line number, and line position. The error description. The exception that is the cause of the current exception. This value can be null. The line number indicating where the error occurred. The line position indicating where the error occurred. Streams all the XmlException properties into the class for the given . The SerializationInfo object. The StreamingContext object. Gets the line number indicating where the error occurred. The line number indicating where the error occurred. Gets the line position indicating where the error occurred. The line position indicating where the error occurred. Gets a message describing the current exception. The error message that explains the reason for the exception. Gets the location of the XML file. The source URI for the XML data. If there is no source URI, this property returns null. Defines the context for a set of objects. Initializes a new instance of the class. Initializes a new instance of the class with the specified. An object. Creates a new . The new XmlDocument object. Tests if the Document Object Model (DOM) implementation implements a specific feature. true if the feature is implemented in the specified version; otherwise, false.The following table shows the combinations that cause HasFeature to return true.strFeature strVersion XML 1.0 XML 2.0 The package name of the feature to test. This name is not case-sensitive. This is the version number of the package name to test. If the version is not specified (null), supporting any version of the feature causes the method to return true. Gets the node immediately preceding or following this node. Gets the node immediately following this node. The immediately following this node or null if one does not exist. Gets the node immediately preceding this node. The preceding or null if one does not exist. Represents a collection of nodes that can be accessed by name or index. Gets the number of nodes in the XmlNamedNodeMap. The number of nodes. Provides support for the "foreach" style iteration over the collection of nodes in the XmlNamedNodeMap. An . Retrieves an specified by name. An XmlNode with the specified name or null if a matching node is not found. The qualified name of the node to retrieve. It is matched against the property of the matching node. Retrieves a node with the matching and . An with the matching local name and namespace URI or null if a matching node was not found. The local name of the node to retrieve. The namespace Uniform Resource Identifier (URI) of the node to retrieve. Retrieves the node at the specified index in the XmlNamedNodeMap. The at the specified index. If is less than 0 or greater than or equal to the property, null is returned. The index position of the node to retrieve from the XmlNamedNodeMap. The index is zero-based; therefore, the index of the first node is 0 and the index of the last node is -1. Removes the node from the XmlNamedNodeMap. The XmlNode removed from this XmlNamedNodeMap or null if a matching node was not found. The qualified name of the node to remove. The name is matched against the property of the matching node. Removes a node with the matching and . The removed or null if a matching node was not found. The local name of the node to remove. The namespace URI of the node to remove. Adds an using its property If the replaces an existing node with the same name, the old node is returned; otherwise, null is returned. An XmlNode to store in the XmlNamedNodeMap. If a node with that name is already present in the map, it is replaced by the new one. The was created from a different than the one that created the XmlNamedNodeMap; or the XmlNamedNodeMap is read-only. Resolves, adds, and removes namespaces to a collection and provides scope management for these namespaces. Initializes a new instance of the class with the specified . The to use. null is passed to the constructor Adds the given namespace to the collection. The prefix to associate with the namespace being added. Use String.Empty to add a default namespace.Note   If the will be used for resolving namespaces in an XML Path Language (XPath) expression, a prefix must be specified. If an XPath expression does not include a prefix, it is assumed that the namespace Uniform Resource Identifier (URI) is the empty namespace. For more information about XPath expressions and the , refer to the and methods. The namespace to add. The value for is "xml" or "xmlns". The value for or is null. Gets the namespace URI for the default namespace. Returns the namespace URI for the default namespace, or String.Empty if there is no default namespace. Returns an enumerator to use to iterate through the namespaces in the . An containing the prefixes stored by the . Gets a collection of namespace names keyed by prefix which can be used to enumerate the namespaces currently in scope. A object containing a collection of namespace and prefix pairs currently in scope. An value that specifies the type of namespace nodes to return. Gets a value indicating whether the supplied prefix has a namespace defined for the current pushed scope. true if there is a namespace defined; otherwise, false. The prefix of the namespace you want to find. Gets the namespace URI for the specified prefix. Returns the namespace URI for or null if there is no mapped namespace. The returned string is atomized.For more information on atomized strings, see . The prefix whose namespace URI you want to resolve. To match the default namespace, pass String.Empty. Finds the prefix declared for the given namespace URI. The matching prefix. If there is no mapped prefix, the method returns String.Empty. If a null value is supplied, then null is returned. The namespace to resolve for the prefix. Gets the associated with this object. The used by this object. Pops a namespace scope off the stack. true if there are namespace scopes left on the stack; false if there are no more namespaces to pop. Pushes a namespace scope onto the stack. Removes the given namespace for the given prefix. The prefix for the namespace The namespace to remove for the given prefix. The namespace removed is from the current namespace scope. Namespaces outside the current scope are ignored. The value of or is null. Defines the namespace scope. All namespaces defined in the scope of the current node. This includes the xmlns:xml namespace which is always declared implicitly. The order of the namespaces returned is not defined. All namespaces defined in the scope of the current node, excluding the xmlns:xml namespace, which is always declared implicitly. The order of the namespaces returned is not defined. All namespaces that are defined locally at the current node. Table of atomized string objects. Initializes a new instance of the class. When overridden in a derived class, atomizes the specified string and adds it to the XmlNameTable. The new atomized string or the existing one if it already exists. If length is zero, String.Empty is returned. The character array containing the name to add. Zero-based index into the array specifying the first character of the name. The number of characters in the name. 0 > -or- >= .Length -or- > .Length The above conditions do not cause an exception to be thrown if =0. < 0. When overridden in a derived class, atomizes the specified string and adds it to the XmlNameTable. The new atomized string or the existing one if it already exists. The name to add. is null. When overridden in a derived class, gets the atomized string containing the same characters as the specified range of characters in the given array. The atomized string or null if the string has not already been atomized. If is zero, String.Empty is returned. The character array containing the name to look up. The zero-based index into the array specifying the first character of the name. The number of characters in the name. 0 > -or- >= .Length -or- > .Length The above conditions do not cause an exception to be thrown if =0. < 0. When overridden in a derived class, gets the atomized string containing the same value as the specified string. The atomized string or null if the string has not already been atomized. The name to look up. is null. Represents a single node in the XML document. Adds the specified node to the end of the list of child nodes, of this node. The node added. The node to add. All the contents of the node to be added are moved into the specified location. This node is of a type that does not allow child nodes of the type of the node.The is an ancestor of this node. The was created from a different document than the one that created this node.This node is read-only. Gets an containing the attributes of this node. An XmlAttributeCollection containing the attributes of the node.If the node is of type XmlNodeType.Element, the attributes of the node are returned. Otherwise, this property returns null. Gets the base URI of the current node. The location from which the node was loaded or String.Empty if the node has no base URI. Gets all the child nodes of the node. An that contains all the child nodes of the node.If there are no child nodes, this property returns an empty . Creates a duplicate of this node. The cloned node. When overridden in a derived class, creates a duplicate of the node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself. Calling this method on a node type that cannot be cloned. Creates an for navigating this object. An XPathNavigator object. The XPathNavigator is positioned on the node from which the method was called. It is not positioned on the root of the document. Gets the first child of the node. The first child of the node. If there is no such node, null is returned. Provides support for the for each style iteration over the nodes in the XmlNode. An . Looks up the closest xmlns declaration for the given prefix that is in scope for the current node and returns the namespace URI in the declaration. The namespace URI of the specified prefix. Prefix whose namespace URI you want to find. Looks up the closest xmlns declaration for the given namespace URI that is in scope for the current node and returns the prefix defined in that declaration. The prefix for the specified namespace URI. Namespace URI whose prefix you want to find. Gets a value indicating whether this node has any child nodes. true if the node has child nodes; otherwise, false. Gets or sets the concatenated values of the node and all its child nodes. The concatenated values of the node and all its child nodes. Gets or sets the markup representing only the child nodes of this node. The markup of the child nodes of this node.Note:InnerXml does not return default attributes. Setting this property on a node that cannot have child nodes. The XML specified when setting this property is not well-formed. Inserts the specified node immediately after the specified reference node. The node being inserted. The XmlNode to insert. The XmlNode that is the reference node. The is placed after the . This node is of a type that does not allow child nodes of the type of the node.The is an ancestor of this node. The was created from a different document than the one that created this node.The is not a child of this node.This node is read-only. Inserts the specified node immediately before the specified reference node. The node being inserted. The XmlNode to insert. The XmlNode that is the reference node. The is placed before this node. The current node is of a type that does not allow child nodes of the type of the node.The is an ancestor of this node. The was created from a different document than the one that created this node.The is not a child of this node.This node is read-only. Gets a value indicating whether the node is read-only. true if the node is read-only; otherwise false. Gets the first child element with the specified . The first that matches the specified name. The qualified name of the element to retrieve. Gets the first child element with the specified and . The first with the matching and . The local name of the element. The namespace URI of the element. Gets the last child of the node. The last child of the node. If there is no such node, null is returned. When overridden in a derived class, gets the local name of the node. The name of the node with the prefix removed. For example, LocalName is book for the element <bk:book>.The name returned is dependent on the of the node: Type Name Attribute The local name of the attribute. CDATA #cdata-section Comment #comment Document #document DocumentFragment #document-fragment DocumentType The document type name. Element The local name of the element. Entity The name of the entity. EntityReference The name of the entity referenced. Notation The notation name. ProcessingInstruction The target of the processing instruction. Text #text Whitespace #whitespace SignificantWhitespace #significant-whitespace XmlDeclaration #xml-declaration When overridden in a derived class, gets the qualified name of the node. The qualified name of the node. The name returned is dependent on the of the node: Type Name Attribute The qualified name of the attribute. CDATA #cdata-section Comment #comment Document #document DocumentFragment #document-fragment DocumentType The document type name. Element The qualified name of the element. Entity The name of the entity. EntityReference The name of the entity referenced. Notation The notation name. ProcessingInstruction The target of the processing instruction. Text #text Whitespace #whitespace SignificantWhitespace #significant-whitespace XmlDeclaration #xml-declaration Gets the namespace URI of this node. The namespace URI of this node. If there is no namespace URI, this property returns String.Empty. Gets the node immediately following this node. The next XmlNode. If there is no next node, null is returned. When overridden in a derived class, gets the type of the current node. One of the values. Puts all XmlText nodes in the full depth of the sub-tree underneath this XmlNode into a "normal" form where only markup (that is, tags, comments, processing instructions, CDATA sections, and entity references) separates XmlText nodes, that is, there are no adjacent XmlText nodes. Gets the markup representing this node and all its child nodes. The markup containing this node and all its child nodes.Note:OuterXml does not return default attributes. Gets the to which this node belongs. The to which this node belongs.If the node is an (NodeType equals XmlNodeType.Document), this property returns null. Gets the parent of this node (for nodes that can have parents). The XmlNode that is the parent of the current node. If a node has just been created and not yet added to the tree, or if it has been removed from the tree, the parent is null. For all other nodes, the value returned depends on the of the node. The following table describes the possible return values for the ParentNode property.NodeType Return Value of ParentNode Attribute, Document, DocumentFragment, Entity, Notation Returns null; these nodes do not have parents. CDATA Returns the element or entity reference containing the CDATA section. Comment Returns the element, entity reference, document type, or document containing the comment. DocumentType Returns the document node. Element Returns the parent node of the element. If the element is the root node in the tree, the parent is the document node. EntityReference Returns the element, attribute, or entity reference containing the entity reference. ProcessingInstruction Returns the document, element, document type, or entity reference containing the processing instruction. Text Returns the parent element, attribute, or entity reference containing the text node. Gets or sets the namespace prefix of this node. The namespace prefix of this node. For example, Prefix is bk for the element <bk:book>. If there is no prefix, this property returns String.Empty. This node is read-only. The specified prefix contains an invalid character.The specified prefix is malformed.The specified prefix is "xml" and the namespaceURI of this node is different from "http://www.w3.org/XML/1998/namespace".This node is an attribute and the specified prefix is "xmlns" and the namespaceURI of this node is different from "http://www.w3.org/2000/xmlns/ ".This node is an attribute and the qualifiedName of this node is "xmlns". Adds the specified node to the beginning of the list of child nodes for this node. The node added. The node to add. All the contents of the node to be added are moved into the specified location. This node is of a type that does not allow child nodes of the type of the node.The is an ancestor of this node. The was created from a different document than the one that created this node.This node is read-only. Gets the node immediately preceding this node. The preceding XmlNode. If there is no preceding node, null is returned. Removes all the child nodes and/or attributes of the current node. Removes specified child node. The node removed. The node being removed. The is not a child of this node. Or this node is read-only. Replaces the child node with node. The node replaced. The new node to put in the child list. The node being replaced in the list. This node is of a type that does not allow child nodes of the type of the node.The is an ancestor of this node. The was created from a different document than the one that created this node.This node is read-only.The is not a child of this node. Gets the post schema validation infoset that has been assigned to this node as a result of schema validation. An object containing the post schema validation infoset of this node Selects a list of nodes matching the XPath expression. An containing a collection of nodes matching the XPath query. The XPath expression. The XPath expression contains a prefix. Selects a list of nodes matching the XPath expression. Any prefixes found in the XPath expression are resolved using the supplied . An containing a collection of nodes matching the XPath query. The XPath expression. An to use for resolving namespaces for prefixes in the XPath expression. The XPath expression contains a prefix which is not defined in the XmlNamespaceManager. Selects the first XmlNode that matches the XPath expression. The first XmlNode that matches the XPath query or null if no matching node is found. The XmlNode should not be expected to be connected "live" to the XML document. That is, changes that appear in the XML document may not appear in the XmlNode, and vice versa. The XPath expression. The XPath expression contains a prefix. Selects the first XmlNode that matches the XPath expression. Any prefixes found in the XPath expression are resolved using the supplied . The first XmlNode that matches the XPath query or null if no matching node is found. The XmlNode should not be expected to be connected "live" to the XML document. That is, changes that appear in the XML document may not appear in the XmlNode, and vice versa. The XPath expression. An to use for resolving namespaces for prefixes in the XPath expression. The XPath expression contains a prefix which is not defined in the XmlNamespaceManager. Test if the DOM implementation implements a specific feature. true if the feature is implemented in the specified version; otherwise, false. The following table describes the combinations that return true.Feature Version XML 1.0 XML 2.0 The package name of the feature to test. This name is not case-sensitive. This is the version number of the package name to test. If the version is not specified (null), supporting any version of the feature causes the method to return true. For a description of this member, see . For a description of this member, see . Gets or sets the value of the node. The value returned depends on the of the node: Type Value Attribute The value of the attribute. CDATASection The content of the CDATA Section. Comment The content of the comment. Document null. DocumentFragment null. DocumentType null. Element null. You can use the or properties to access the value of the element node. Entity null. EntityReference null. Notation null. ProcessingInstruction The entire content excluding the target. Text The content of the text node. SignificantWhitespace The white space characters. White space can consist of one or more space characters, carriage returns, line feeds, or tabs. Whitespace The white space characters. White space can consist of one or more space characters, carriage returns, line feeds, or tabs. XmlDeclaration The content of the declaration (that is, everything between <?xml and ?>). Setting the value of a node that is read-only. Setting the value of a node that is not supposed to have a value (for example, an Element node). When overridden in a derived class, saves all the child nodes of the node to the specified . The XmlWriter to which you want to save. When overridden in a derived class, saves the current node to the specified . The XmlWriter to which you want to save. Specifies the type of node change. A node is being inserted in the tree. A node is being removed from the tree. A node value is being changed. Provides data for the , , , , and events. Initializes a new instance of the class. The that generated the event. The old parent of the that generated the event. The new parent of the that generated the event. The old value of the that generated the event. The new value of the that generated the event. The . Gets a value indicating what type of node change event is occurring. An XmlNodeChangedAction value describing the node change event.XmlNodeChangedAction Value Description Insert A node has been or will be inserted. Remove A node has been or will be removed. Change A node has been or will be changed. Note:The Action value does not differentiate between when the event occurred (before or after). You can create separate event handlers to handle both instances. Gets the value of the after the operation completes. The value of the ParentNode after the operation completes. This property returns null if the node is being removed.Note:For attribute nodes this property returns the . Gets the new value of the node. The new value of the node. This property returns null if the node is neither an attribute nor a text node, or if the node is being removed.If called in a event, NewValue returns the value of the node if the change is successful. If called in a event, NewValue returns the current value of the node. Gets the that is being added, removed or changed. The XmlNode that is being added, removed or changed; this property never returns null. Gets the value of the before the operation began. The value of the ParentNode before the operation began. This property returns null if the node did not have a parent.Note:For attribute nodes this property returns the . Gets the original value of the node. The original value of the node. This property returns null if the node is neither an attribute nor a text node, or if the node is being inserted.If called in a event, OldValue returns the current value of the node that will be replaced if the change is successful. If called in a event, OldValue returns the value of node prior to the change. Represents the method that handles , , , , and events. The source of the event. An containing the event data. Represents an ordered collection of nodes. Initializes a new instance of the class. Gets the number of nodes in the XmlNodeList. The number of nodes. Provides a simple "foreach" style iteration over the collection of nodes in the XmlNodeList. An . Retrieves a node at the given index. The in the collection. If is greater than or equal to the number of nodes in the list, this returns null. Zero-based index into the list of nodes. Retrieves a node at the given index. The in the collection. If index is greater than or equal to the number of nodes in the list, this returns null. Zero-based index into the list of nodes. Describes the document order of a node compared to a second node. The current node of this navigator is before the current node of the supplied navigator. The current node of this navigator is after the current node of the supplied navigator. The two navigators are positioned on the same node. The node positions cannot be determined in document order, relative to each other. This could occur if the two nodes reside in different trees. Represents a reader that provides fast, non-cached forward only access to XML data in an . Creates an instance of the XmlNodeReader class using the specified . The XmlNode you want to read. Gets the number of attributes on the current node. The number of attributes on the current node. This number includes default attributes. Gets the base URI of the current node. The base URI of the current node. Gets a value indicating whether the implements the binary content read methods. true if the binary content read methods are implemented; otherwise false. The class always returns true. Gets a value indicating whether this reader can parse and resolve entities. true if the reader can parse and resolve entities; otherwise, false. XmlNodeReader always returns true. Changes the to Closed. Gets the depth of the current node in the XML document. The depth of the current node in the XML document. Gets a value indicating whether the reader is positioned at the end of the stream. true if the reader is positioned at the end of the stream; otherwise, false. Gets the value of the attribute with the specified index. The value of the specified attribute. The index of the attribute. The index is zero-based. (The first attribute has index 0.) The parameter is less than 0 or greater than or equal to . Gets the value of the attribute with the specified name. The value of the specified attribute. If the attribute is not found, null is returned. The qualified name of the attribute. Gets the value of the attribute with the specified local name and namespace URI. The value of the specified attribute. If the attribute is not found, null is returned. The local name of the attribute. The namespace URI of the attribute. Gets a value indicating whether the current node has any attributes. true if the current node has attributes; otherwise, false. Gets a value indicating whether the current node can have a . true if the node on which the reader is currently positioned can have a Value; otherwise, false. Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the document type definition (DTD) or schema. true if the current node is an attribute whose value was generated from the default value defined in the DTD or schema; false if the attribute value was explicitly set. Gets a value indicating whether the current node is an empty element (for example, <MyElement/>). true if the current node is an element ( equals XmlNodeType.Element) and it ends with />; otherwise, false. Gets the local name of the current node. The name of the current node with the prefix removed. For example, LocalName is book for the element <bk:book>.For node types that do not have a name (like Text, Comment, and so on), this property returns String.Empty. Resolves a namespace prefix in the current element's scope. The namespace URI to which the prefix maps or null if no matching prefix is found. The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. This string does not have to be atomized. Moves to the attribute with the specified index. The index of the attribute. The parameter is less than 0 or greater than or equal to . Moves to the attribute with the specified name. true if the attribute is found; otherwise, false. If false, the reader's position does not change. The qualified name of the attribute. Moves to the attribute with the specified local name and namespace URI. true if the attribute is found; otherwise, false. If false, the reader's position does not change. The local name of the attribute. The namespace URI of the attribute. Moves to the element that contains the current attribute node. true if the reader is positioned on an attribute (the reader moves to the element that owns the attribute); false if the reader is not positioned on an attribute (the position of the reader does not change). Moves to the first attribute. true if an attribute exists (the reader moves to the first attribute); otherwise, false (the position of the reader does not change). Moves to the next attribute. true if there is a next attribute; false if there are no more attributes. Gets the qualified name of the current node. The qualified name of the current node. For example, Name is bk:book for the element <bk:book>.The name returned is dependent on the of the node. The following node types return the listed values. All other node types return an empty string.Node Type Name AttributeThe name of the attribute. DocumentTypeThe document type name. ElementThe tag name. EntityReferenceThe name of the entity referenced. ProcessingInstructionThe target of the processing instruction. XmlDeclarationThe literal string xml. Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. The namespace URI of the current node; otherwise an empty string. Gets the associated with this implementation. The XmlNameTable enabling you to get the atomized version of a string within the node. Gets the type of the current node. One of the values representing the type of the current node. Gets the namespace prefix associated with the current node. The namespace prefix associated with the current node. Reads the next node from the stream. true if the next node was read successfully; false if there are no more nodes to read. Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. true if there are nodes to return.false if the reader is not positioned on an attribute node when the initial call is made or if all the attribute values have been read.An empty attribute, such as, misc="", returns true with a single node with a value of String.Empty. Reads the content and returns the Base64 decoded binary bytes. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. is not supported on the current node. The index into the buffer or index + count is larger than the allocated buffer size. Reads the content and returns the BinHex decoded binary bytes. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. is not supported on the current node. The index into the buffer or index + count is larger than the allocated buffer size. Reads the element and decodes the Base64 content. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. The current node is not an element node. The index into the buffer or index + count is larger than the allocated buffer size. The element contains mixed content. The content cannot be converted to the requested type. Reads the element and decodes the BinHex content. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. The current node is not an element node. The index into the buffer or index + count is larger than the allocated buffer size. The element contains mixed content. The content cannot be converted to the requested type. Gets the state of the reader. One of the values. Reads the contents of an element or text node as a string. The contents of the element or text-like node (This can include CDATA, Text nodes, and so on). This can be an empty string if the reader is positioned on something other than an element or text node, or if there is no more text content to return in the current context.Note: The text node can be either an element or an attribute text node. Resolves the entity reference for EntityReference nodes. The reader is not positioned on an EntityReference node. Gets the schema information that has been assigned to the current node. An object containing the schema information for the current node. Skips the children of the current node. For a description of this member, see . For a description of this member, see . For a description of this member, see . Gets the text value of the current node. The value returned depends on the of the node. The following table lists node types that have a value to return. All other node types return String.Empty.Node Type Value AttributeThe value of the attribute. CDATAThe content of the CDATA section. CommentThe content of the comment. DocumentTypeThe internal subset. ProcessingInstructionThe entire content, excluding the target. SignificantWhitespaceThe white space between markup in a mixed content model. TextThe content of the text node. WhitespaceThe white space between markup. XmlDeclarationThe content of the declaration. Gets the current xml:lang scope. The current xml:lang scope. Gets the current xml:space scope. One of the values. If no xml:space scope exists, this property defaults to XmlSpace.None. Specifies the type of node. This is returned by the if a Read method has not been called. An element (for example, <item> ). An attribute (for example, id='123' ). The text content of a node. A CDATA section (for example, <![CDATA[my escaped text]]> ). A reference to an entity (for example, &num; ). An entity declaration (for example, <!ENTITY...> ). A processing instruction (for example, <?pi test?> ). A comment (for example, <!-- my comment --> ). A document object that, as the root of the document tree, provides access to the entire XML document. The document type declaration, indicated by the following tag (for example, <!DOCTYPE...> ). A document fragment. A notation in the document type declaration (for example, <!NOTATION...> ). White space between markup. White space between markup in a mixed content model or white space within the xml:space="preserve" scope. An end element tag (for example, </item> ). Returned when XmlReader gets to the end of the entity replacement as a result of a call to . The XML declaration (for example, <?xml version='1.0'?> ). Represents a notation declaration, such as <!NOTATION... >. Creates a duplicate of this node. Notation nodes cannot be cloned. Calling this method on an object throws an exception. true to recursively clone the subtree under the specified node; false to clone only the node itself. Notation nodes cannot be cloned. Calling this method on an object throws an exception. Gets the markup representing the children of this node. For XmlNotation nodes, String.Empty is returned. Attempting to set the property. Gets a value indicating whether the node is read-only. true if the node is read-only; otherwise false.Because XmlNotation nodes are read-only, this property always returns true. Gets the name of the current node without the namespace prefix. For XmlNotation nodes, this property returns the name of the notation. Gets the name of the current node. The name of the notation. Gets the type of the current node. The node type. For XmlNotation nodes, the value is XmlNodeType.Notation. Gets the markup representing this node and all its children. For XmlNotation nodes, String.Empty is returned. Gets the value of the public identifier on the notation declaration. The public identifier on the notation. If there is no public identifier, null is returned. Gets the value of the system identifier on the notation declaration. The system identifier on the notation. If there is no system identifier, null is returned. Saves the children of the node to the specified . This method has no effect on XmlNotation nodes. The XmlWriter to which you want to save. Saves the node to the specified . This method has no effect on XmlNotation nodes. The XmlWriter to which you want to save. Specifies the method used to serialize the output. Serialize according to the XML 1.0 rules. Serialize according to the HTML rules specified by XSLT. Serialize text blocks only. Use the XSLT rules to choose between the and output methods at runtime. Provides all the context information required by the to parse an XML fragment. Initializes a new instance of the XmlParserContext class with the specified , , base URI, xml:lang, xml:space, and document type values. The to use to atomize strings. If this is null, the name table used to construct the is used instead. For more information about atomized strings, see . The to use for looking up namespace information, or null. The name of the document type declaration. The public identifier. The system identifier. The internal DTD subset. The internal DTD subset is used for entity resolution, not document validation. The base URI for the XML fragment (the location from which the fragment was loaded). The xml:lang scope. An value indicating the xml:space scope. is not the same XmlNameTable used to construct . Initializes a new instance of the XmlParserContext class with the specified , , base URI, xml:lang, xml:space, encoding, and document type values. The to use to atomize strings. If this is null, the name table used to construct the is used instead. For more information about atomized strings, see . The to use for looking up namespace information, or null. The name of the document type declaration. The public identifier. The system identifier. The internal DTD subset. The internal DTD subset is used for entity resolution, not document validation. The base URI for the XML fragment (the location from which the fragment was loaded). The xml:lang scope. An value indicating the xml:space scope. An object indicating the encoding setting. is not the same XmlNameTable used to construct . Initializes a new instance of the XmlParserContext class with the specified , , xml:lang, and xml:space values. The to use to atomize strings. If this is null, the name table used to construct the is used instead. For more information about atomized strings, see . The to use for looking up namespace information, or null. The xml:lang scope. An value indicating the xml:space scope. is not the same XmlNameTable used to construct . Initializes a new instance of the XmlParserContext class with the specified , , xml:lang, xml:space, and encoding. The to use to atomize strings. If this is null, the name table used to construct the is used instead. For more information on atomized strings, see . The to use for looking up namespace information, or null. The xml:lang scope. An value indicating the xml:space scope. An object indicating the encoding setting. is not the same XmlNameTable used to construct . Gets or sets the base URI. The base URI to use to resolve the DTD file. Gets or sets the name of the document type declaration. The name of the document type declaration. Gets or sets the encoding type. An object indicating the encoding type. Gets or sets the internal DTD subset. The internal DTD subset. For example, this property returns everything between the square brackets <!DOCTYPE doc [...]>.The internal DTD subset is used for entity resolution, not document validation. Gets or sets the . The XmlNamespaceManager. Gets the used to atomize strings. For more information on atomized strings, see . The XmlNameTable. Gets or sets the public identifier. The public identifier. Gets or sets the system identifier. The system identifier. Gets or sets the current xml:lang scope. The current xml:lang scope. If there is no xml:lang in scope, String.Empty is returned. Gets or sets the current xml:space scope. An value indicating the xml:space scope. Represents a processing instruction, which XML defines to keep processor-specific information in the text of the document. Initializes a new instance of the class. The target of the processing instruction; see the property. The content of the instruction; see the property. The parent XML document. Creates a duplicate of this node. The duplicate node. true to recursively clone the subtree under the specified node; false to clone only the node itself. Gets or sets the content of the processing instruction, excluding the target. The content of the processing instruction, excluding the target. Gets or sets the concatenated values of the node and all its children. The concatenated values of the node and all its children. Gets the local name of the node. For processing instruction nodes, this property returns the target of the processing instruction. Gets the qualified name of the node. For processing instruction nodes, this property returns the target of the processing instruction. Gets the type of the current node. For XmlProcessingInstruction nodes, this value is XmlNodeType.ProcessingInstruction. Gets the target of the processing instruction. The target of the processing instruction. Gets or sets the value of the node. The entire content of the processing instruction, excluding the target. Node is read-only. Saves all the children of the node to the specified . Because ProcessingInstruction nodes do not have children, this method has no effect. The XmlWriter to which you want to save. Saves the node to the specified . The XmlWriter to which you want to save. Represents an XML qualified name. Initializes a new instance of the class. Initializes a new instance of the class with the specified name. The local name to use as the name of the object. Initializes a new instance of the class with the specified name and namespace. The local name to use as the name of the object. The namespace for the object. Provides an empty . Determines whether the specified object is equal to the current object. true if the two are the same instance object; otherwise, false. The to compare. Returns the hash code for the . A hash code for this object. Gets a value indicating whether the is empty. true if name and namespace are empty strings; otherwise, false. Gets a string representation of the qualified name of the . A string representation of the qualified name or String.Empty if a name is not defined for the object. Gets a string representation of the namespace of the . A string representation of the namespace or String.Empty if a namespace is not defined for the object. Compares two objects. true if the two objects have the same name and namespace values; otherwise, false. An to compare. An to compare. Compares two objects. true if the name and namespace values for the two objects differ; otherwise, false. An to compare. An to compare. Returns the string value of the . The string value of the in the format of namespace:localname. If the object does not have a namespace defined, this method returns just the local name. Returns the string value of the . The string value of the in the format of namespace:localname. If the object does not have a namespace defined, this method returns just the local name. The name of the object. The namespace of the object. Represents a reader that provides fast, non-cached, forward-only access to XML data. Initializes a new instance of the XmlReader class. When overridden in a derived class, gets the number of attributes on the current node. The number of attributes on the current node. When overridden in a derived class, gets the base URI of the current node. The base URI of the current node. Gets a value indicating whether the implements the binary content read methods. true if the binary content read methods are implemented; otherwise false. Gets a value indicating whether the implements the method. true if the implements the method; otherwise false. Gets a value indicating whether this reader can parse and resolve entities. true if the reader can parse and resolve entities; otherwise, false. When overridden in a derived class, changes the to Closed. Creates a new instance using the specified stream. An object used to read the data contained in the stream. The stream containing the XML data. The scans the first bytes of the stream looking for a byte order mark or other sign of encoding. When encoding is determined, the encoding is used to continue reading the stream, and processing continues parsing the input as a stream of (Unicode) characters. The value is null. The does not have sufficient permissions to access the location of the XML data. Creates a new instance with the specified stream and object. An object to read the XML data. The stream containing the XML data. The scans the first bytes of the stream looking for a byte order mark or other sign of encoding. When encoding is determined, the encoding is used to continue reading the stream, and processing continues parsing the input as a stream of (Unicode) characters. The object used to configure the new instance. This value can be null. The value is null. Creates a new instance using the specified stream, base URI, and object. An object to read XML data. The stream containing the XML data. The scans the first bytes of the stream looking for a byte order mark or other sign of encoding. When encoding is determined, the encoding is used to continue reading the stream, and processing continues parsing the input as a stream of (Unicode) characters. The object used to configure the new instance. This value can be null. The base URI for the entity or document being read. This value can be null.Security Note   The base URI is used to resolve the relative URI of the XML document. Do not use a base URI from an untrusted source. The value is null. Creates a new instance using the specified stream, , and objects. An object to read XML data. The stream containing the XML data. The scans the first bytes of the stream looking for a byte order mark or other sign of encoding. When encoding is determined, the encoding is used to continue reading the stream, and processing continues parsing the input as a stream of (Unicode) characters. The object used to configure the new instance. This value can be null. The object that provides the context information required to parse the XML fragment. The context information can include the to use, encoding, namespace scope, the current xml:lang and xml:space scope, base URI, and document type definition. This value can be null. The value is null. Creates a new instance with the specified . An object to read the XML data. The from which to read the XML data. Because a returns a stream of Unicode characters, the encoding specified in the XML declaration is not used by the to decode the data stream. The value is null. Creates a new instance using the specified and objects. An object to read XML data. The from which to read the XML data. Because a returns a stream of Unicode characters, the encoding specified in the XML declaration is not used by the to decode the data stream The object used to configure the new . This value can be null. The value is null. Creates a new instance using the specified , , and base URI. An object to read XML data. The from which to read the XML data. Because a returns a stream of Unicode characters, the encoding specified in the XML declaration is not used by the to decode the data stream. The object used to configure the new instance. This value can be null. The base URI for the entity or document being read. This value can be null.Security Note   The base URI is used to resolve the relative URI of the XML document. Do not use a base URI from an untrusted source. The value is null. Creates a new instance using the specified , , and objects. An object to read XML data. The from which to read the XML data. Because a returns a stream of Unicode characters, the encoding specified in the XML declaration is not used by the to decode the data stream. The object used to configure the new instance. This value can be null. The object that provides the context information required to parse the XML fragment. The context information can include the to use, encoding, namespace scope, the current xml:lang and xml:space scope, base URI, and document type definition. This value can be null. The value is null. The and properties both contain values. (Only one of these NameTable properties can be set and used). Creates a new instance with specified URI. An object to read the XML data. The URI for the file containing the XML data. The class is used to convert the path to a canonical data representation. The value is null. The does not have sufficient permissions to access the location of the XML data. The file identified by the URI does not exist. The URI format is not correct. Creates a new instance with the specified URI and . An object to read XML data. The URI for the file containing the XML data. The object on the object is used to convert the path to a canonical data representation. If is null, a new object is used. The object used to configure the new instance. This value can be null. The value is null. The file specified by the URI cannot be found. The URI format is not correct. Creates a new instance using the specified URI, , and objects. An object to read XML data. The URI for the file containing the XML data. The object on the object is used to convert the path to a canonical data representation. If is null, a new object is used. The object used to configure the new instance. This value can be null. The object that provides the context information required to parse the XML fragment. The context information can include the to use, encoding, namespace scope, the current xml:lang and xml:space scope, base URI, and document type definition. This value can be null. The inputUri value is null. The does not have sufficient permissions to access the location of the XML data. The and properties both contain values. (Only one of these NameTable properties can be set and used). The file specified by the URI cannot be found. The URI format is not correct. Creates a new instance with the specified and objects. An object that is wrapped around the specified object. The object that you wish to use as the underlying reader. The object used to configure the new instance.The conformance level of the object must either match the conformance level of the underlying reader, or it must be set to . The value is null. If the object specifies a conformance level that is not consistent with conformance level of the underlying reader.-or-The underlying is in an or state. When overridden in a derived class, gets the depth of the current node in the XML document. The depth of the current node in the XML document. Releases the unmanaged resources used by the and optionally releases the managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream. true if the reader is positioned at the end of the stream; otherwise, false. When overridden in a derived class, gets the value of the attribute with the specified index. The value of the specified attribute. This method does not move the reader. The index of the attribute. The index is zero-based. (The first attribute has index 0.) is out of range. It must be non-negative and less than the size of the attribute collection. When overridden in a derived class, gets the value of the attribute with the specified . The value of the specified attribute. If the attribute is not found or the value is String.Empty, null is returned. The qualified name of the attribute. is null. When overridden in a derived class, gets the value of the attribute with the specified and . The value of the specified attribute. If the attribute is not found or the value is String.Empty, null is returned. This method does not move the reader. The local name of the attribute. The namespace URI of the attribute. is null. Gets a value indicating whether the current node has any attributes. true if the current node has attributes; otherwise, false. When overridden in a derived class, gets a value indicating whether the current node can have a . true if the node on which the reader is currently positioned can have a Value; otherwise, false. If false, the node has a value of String.Empty. When overridden in a derived class, gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema. true if the current node is an attribute whose value was generated from the default value defined in the DTD or schema; false if the attribute value was explicitly set. When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example, <MyElement/>). true if the current node is an element ( equals XmlNodeType.Element) that ends with />; otherwise, false. Gets a value indicating whether the string argument is a valid XML name. true if the name is valid; otherwise, false. The name to validate. The value is null. Gets a value indicating whether or not the string argument is a valid XML name token. true if it is a valid name token; otherwise false. The name token to validate. The value is null. Calls and tests if the current content node is a start tag or empty element tag. true if finds a start tag or empty element tag; false if a node type other than XmlNodeType.Element was found. Incorrect XML is encountered in the input stream. Calls and tests if the current content node is a start tag or empty element tag and if the property of the element found matches the given argument. true if the resulting node is an element and the Name property matches the specified string. false if a node type other than XmlNodeType.Element was found or if the element Name property does not match the specified string. The string matched against the Name property of the element found. Incorrect XML is encountered in the input stream. Calls and tests if the current content node is a start tag or empty element tag and if the and properties of the element found match the given strings. true if the resulting node is an element. false if a node type other than XmlNodeType.Element was found or if the LocalName and NamespaceURI properties of the element do not match the specified strings. The string to match against the LocalName property of the element found. The string to match against the NamespaceURI property of the element found. Incorrect XML is encountered in the input stream. When overridden in a derived class, gets the value of the attribute with the specified index. The value of the specified attribute. The index of the attribute. When overridden in a derived class, gets the value of the attribute with the specified . The value of the specified attribute. If the attribute is not found, null is returned. The qualified name of the attribute. When overridden in a derived class, gets the value of the attribute with the specified and . The value of the specified attribute. If the attribute is not found, null is returned. The local name of the attribute. The namespace URI of the attribute. When overridden in a derived class, gets the local name of the current node. The name of the current node with the prefix removed. For example, LocalName is book for the element <bk:book>.For node types that do not have a name (like Text, Comment, and so on), this property returns String.Empty. When overridden in a derived class, resolves a namespace prefix in the current element's scope. The namespace URI to which the prefix maps or null if no matching prefix is found. The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. When overridden in a derived class, moves to the attribute with the specified index. The index of the attribute. When overridden in a derived class, moves to the attribute with the specified . true if the attribute is found; otherwise, false. If false, the reader's position does not change. The qualified name of the attribute. When overridden in a derived class, moves to the attribute with the specified and . true if the attribute is found; otherwise, false. If false, the reader's position does not change. The local name of the attribute. The namespace URI of the attribute. Checks whether the current node is a content (non-white space text, CDATA, Element, EndElement, EntityReference, or EndEntity) node. If the node is not a content node, the reader skips ahead to the next content node or end of file. It skips over nodes of the following type: ProcessingInstruction, DocumentType, Comment, Whitespace, or SignificantWhitespace. The of the current node found by the method or XmlNodeType.None if the reader has reached the end of the input stream. Incorrect XML encountered in the input stream. When overridden in a derived class, moves to the element that contains the current attribute node. true if the reader is positioned on an attribute (the reader moves to the element that owns the attribute); false if the reader is not positioned on an attribute (the position of the reader does not change). When overridden in a derived class, moves to the first attribute. true if an attribute exists (the reader moves to the first attribute); otherwise, false (the position of the reader does not change). When overridden in a derived class, moves to the next attribute. true if there is a next attribute; false if there are no more attributes. When overridden in a derived class, gets the qualified name of the current node. The qualified name of the current node. For example, Name is bk:book for the element <bk:book>.The name returned is dependent on the of the node. The following node types return the listed values. All other node types return an empty string.Node type Name AttributeThe name of the attribute. DocumentTypeThe document type name. ElementThe tag name. EntityReferenceThe name of the entity referenced. ProcessingInstructionThe target of the processing instruction. XmlDeclarationThe literal string xml. When overridden in a derived class, gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. The namespace URI of the current node; otherwise an empty string. When overridden in a derived class, gets the associated with this implementation. The XmlNameTable enabling you to get the atomized version of a string within the node. When overridden in a derived class, gets the type of the current node. One of the values representing the type of the current node. When overridden in a derived class, gets the namespace prefix associated with the current node. The namespace prefix associated with the current node. When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node. The quotation mark character (" or ') used to enclose the value of an attribute node. When overridden in a derived class, reads the next node from the stream. true if the next node was read successfully; false if there are no more nodes to read. An error occurred while parsing the XML. When overridden in a derived class, parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. true if there are nodes to return.false if the reader is not positioned on an attribute node when the initial call is made or if all the attribute values have been read.An empty attribute, such as, misc="", returns true with a single node with a value of String.Empty. Reads the content as an object of the type specified. The concatenated text content or attribute value converted to the requested type. The type of the value to be returned.Note   With the release of the .NET Framework 3.5, the value of the parameter can now be the type. An object that is used to resolve any namespace prefixes related to type conversion. For example, this can be used when converting an object to an xs:string.This value can be null. The content is not in the correct format for the target type. The attempted cast is not valid. The value is null. The current node is not a supported node type. See the table below for details. Read Decimal.MaxValue. Reads the content and returns the Base64 decoded binary bytes. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. is not supported on the current node. The index into the buffer or index + count is larger than the allocated buffer size. The implementation does not support this method. Reads the content and returns the BinHex decoded binary bytes. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. is not supported on the current node. The index into the buffer or index + count is larger than the allocated buffer size. The implementation does not support this method. Reads the text content at the current position as a Boolean. The text content as a object. The attempted cast is not valid. The string format is not valid. Reads the text content at the current position as a object. The text content as a object. The attempted cast is not valid. The string format is not valid. Reads the text content at the current position as a object. The text content at the current position as a object. The attempted cast is not valid. The string format is not valid. Reads the text content at the current position as a double-precision floating-point number. The text content as a double-precision floating-point number. The attempted cast is not valid. The string format is not valid. Reads the text content at the current position as a single-precision floating point number. The text content at the current position as a single-precision floating point number. The attempted cast is not valid. The string format is not valid. Reads the text content at the current position as a 32-bit signed integer. The text content as a 32-bit signed integer. The attempted cast is not valid. The string format is not valid. Reads the text content at the current position as a 64-bit signed integer. The text content as a 64-bit signed integer. The attempted cast is not valid. The string format is not valid. Reads the text content at the current position as an . The text content as the most appropriate common language runtime (CLR) object. The attempted cast is not valid. The string format is not valid. Reads the text content at the current position as a object. The text content as a object. The attempted cast is not valid. The string format is not valid. Reads the element content as the requested type. The element content converted to the requested typed object. The type of the value to be returned.Note   With the release of the .NET Framework 3.5, the value of the parameter can now be the type. An object that is used to resolve any namespace prefixes related to type conversion. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to the requested type. The method is called with null arguments. Read Decimal.MaxValue. Checks that the specified local name and namespace URI matches that of the current element, then reads the element content as the requested type. The element content converted to the requested typed object. The type of the value to be returned.Note   With the release of the .NET Framework 3.5, the value of the parameter can now be the type. An object that is used to resolve any namespace prefixes related to type conversion. The local name of the element. The namespace URI of the element. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to the requested type. The method is called with null arguments. The specified local name and namespace URI do not match that of the current element being read. Read Decimal.MaxValue. Reads the element and decodes the Base64 content. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. The current node is not an element node. The index into the buffer or index + count is larger than the allocated buffer size. The implementation does not support this method. The element contains mixed-content. The content cannot be converted to the requested type. Reads the element and decodes the BinHex content. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. The current node is not an element node. The index into the buffer or index + count is larger than the allocated buffer size. The implementation does not support this method. The element contains mixed-content. The content cannot be converted to the requested type. Reads the current element and returns the contents as a object. The element content as a object. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a object. The method is called with null arguments. Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a object. The element content as a object. The local name of the element. The namespace URI of the element. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to the requested type. The method is called with null arguments. The specified local name and namespace URI do not match that of the current element being read. Reads the current element and returns the contents as a object. The element content as a object. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a object. The method is called with null arguments. Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a object. The element contents as a object. The local name of the element. The namespace URI of the element. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to the requested type. The method is called with null arguments. The specified local name and namespace URI do not match that of the current element being read. Reads the current element and returns the contents as a object. The element content as a object. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a . The method is called with null arguments. Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a object. The element content as a object. The local name of the element. The namespace URI of the element. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a . The method is called with null arguments. The specified local name and namespace URI do not match that of the current element being read. Reads the current element and returns the contents as a double-precision floating-point number. The element content as a double-precision floating-point number. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a double-precision floating-point number. The method is called with null arguments. Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a double-precision floating-point number. The element content as a double-precision floating-point number. The local name of the element. The namespace URI of the element. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to the requested type. The method is called with null arguments. The specified local name and namespace URI do not match that of the current element being read. Reads the current element and returns the contents as single-precision floating-point number. The element content as a single-precision floating point number. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a single-precision floating-point number. The method is called with null arguments. Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a single-precision floating-point number. The element content as a single-precision floating point number. The local name of the element. The namespace URI of the element. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a single-precision floating-point number. The method is called with null arguments. The specified local name and namespace URI do not match that of the current element being read. Reads the current element and returns the contents as a 32-bit signed integer. The element content as a 32-bit signed integer. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a 32-bit signed integer. The method is called with null arguments. Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a 32-bit signed integer. The element content as a 32-bit signed integer. The local name of the element. The namespace URI of the element. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a 32-bit signed integer. The method is called with null arguments. The specified local name and namespace URI do not match that of the current element being read. Reads the current element and returns the contents as a 64-bit signed integer. The element content as a 64-bit signed integer. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a 64-bit signed integer. The method is called with null arguments. Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a 64-bit signed integer. The element content as a 64-bit signed integer. The local name of the element. The namespace URI of the element. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a 64-bit signed integer. The method is called with null arguments. The specified local name and namespace URI do not match that of the current element being read. Reads the current element and returns the contents as an . A boxed common language runtime (CLR) object of the most appropriate type. The property determines the appropriate CLR type. If the content is typed as a list type, this method returns an array of boxed objects of the appropriate type. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to the requested type The method is called with null arguments. Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as an . A boxed common language runtime (CLR) object of the most appropriate type. The property determines the appropriate CLR type. If the content is typed as a list type, this method returns an array of boxed objects of the appropriate type. The local name of the element. The namespace URI of the element. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to the requested type. The method is called with null arguments. The specified local name and namespace URI do not match that of the current element being read. Reads the current element and returns the contents as a object. The element content as a object. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a object. The method is called with null arguments. Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a object. The element content as a object. The local name of the element. The namespace URI of the element. The is not positioned on an element. The current element contains child elements.-or-The element content cannot be converted to a object. The method is called with null arguments. The specified local name and namespace URI do not match that of the current element being read. Reads a text-only element. The text contained in the element that was read. An empty string if the element is empty (<item></item> or <item/>). The next content node is not a start tag; or the element found does not contain a simple text value. Checks that the property of the element found matches the given string before reading a text-only element. The text contained in the element that was read. An empty string if the element is empty (<item></item> or <item/>). The name to check. If the next content node is not a start tag; if the element Name does not match the given argument; or if the element found does not contain a simple text value. Checks that the and properties of the element found matches the given strings before reading a text-only element. The text contained in the element that was read. An empty string if the element is empty (<item></item> or <item/>). The local name to check. The namespace URI to check. If the next content node is not a start tag; if the element LocalName or NamespaceURI do not match the given arguments; or if the element found does not contain a simple text value. Checks that the current content node is an end tag and advances the reader to the next node. The current node is not an end tag or if incorrect XML is encountered in the input stream. When overridden in a derived class, reads all the content, including markup, as a string. All the XML content, including markup, in the current node. If the current node has no children, an empty string is returned.If the current node is neither an element nor attribute, an empty string is returned. The XML was not well-formed, or an error occurred while parsing the XML. When overridden in a derived class, reads the content, including markup, representing this node and all its children. If the reader is positioned on an element or an attribute node, this method returns all the XML content, including markup, of the current node and all its children; otherwise, it returns an empty string. The XML was not well-formed, or an error occurred while parsing the XML. Checks that the current node is an element and advances the reader to the next node. returns false. Checks that the current content node is an element with the given and advances the reader to the next node. The qualified name of the element. returns false or if the of the element does not match the given . Checks that the current content node is an element with the given and and advances the reader to the next node. The local name of the element. The namespace URI of the element. returns false, or the and properties of the element found do not match the given arguments. When overridden in a derived class, gets the state of the reader. One of the values. When overridden in a derived class, reads the contents of an element or text node as a string. The contents of the element or an empty string. An error occurred while parsing the XML. Returns a new XmlReader instance that can be used to read the current node, and all its descendants. A new XmlReader instance set to ReadState.Initial. A call to the method positions the new XmlReader on the node that was current before the call to ReadSubtree method. The XmlReader is not positioned on an element when this method is called. Advances the to the next descendant element with the specified qualified name. true if a matching descendant element is found; otherwise false. If a matching child element is not found, the is positioned on the end tag ( is XmlNodeType.EndElement) of the element.If the is not positioned on an element when was called, this method returns false and the position of the is not changed. The qualified name of the element you wish to move to. Advances the to the next descendant element with the specified local name and namespace URI. true if a matching descendant element is found; otherwise false. If a matching child element is not found, the is positioned on the end tag ( is XmlNodeType.EndElement) of the element.If the is not positioned on an element when was called, this method returns false and the position of the is not changed. The local name of the element you wish to move to. The namespace URI of the element you wish to move to. Reads until an element with the specified qualified name is found. true if a matching element is found; otherwise false and the is in an end of file state. The qualified name of the element. Reads until an element with the specified local name and namespace URI is found. true if a matching element is found; otherwise false and the is in an end of file state. The local name of the element. The namespace URI of the element. Advances the XmlReader to the next sibling element with the specified qualified name. true if a matching sibling element is found; otherwise false. If a matching sibling element is not found, the XmlReader is positioned on the end tag ( is XmlNodeType.EndElement) of the parent element. The qualified name of the sibling element you wish to move to. Advances the XmlReader to the next sibling element with the specified local name and namespace URI. true if a matching sibling element is found; otherwise false. If a matching sibling element is not found, the XmlReader is positioned on the end tag ( is XmlNodeType.EndElement) of the parent element. The local name of the sibling element you wish to move to. The namespace URI of the sibling element you wish to move to Reads large streams of text embedded in an XML document. The number of characters read into the buffer. The value zero is returned when there is no more text content. The array of characters that serves as the buffer to which the text contents are written. This value cannot be null. The offset within the buffer where the can start to copy the results. The maximum number of characters to copy into the buffer. The actual number of characters copied is returned from this method. The current node does not have a value ( is false). The value is null. The index into the buffer, or index + count is larger than the allocated buffer size. The implementation does not support this method. The XML data is not well-formed. When overridden in a derived class, resolves the entity reference for EntityReference nodes. The reader is not positioned on an EntityReference node; this implementation of the reader cannot resolve entities ( returns false). Gets the schema information that has been assigned to the current node as a result of schema validation. An object containing the schema information for the current node. Schema information can be set on elements, attributes, or on text nodes with a non-null (typed values). If the current node is not one of the above node types, or if the XmlReader instance does not report schema information, this property returns null.If this property is called from an or an object, this property always returns null. These XmlReader implementations do not expose schema information through the SchemaInfo property.Note:If you have to get the post-schema-validation information set (PSVI) for an element, position the reader on the end tag of the element, rather than the start tag. You get the PSVI through the SchemaInfo property of a reader. The validating reader that is created through with the property set to has complete PSVI for an element only when the reader is positioned on the end tag of an element. Gets the object used to create this instance. The object used to create this reader instance. If this reader was not created using the method, this property returns null. Skips the children of the current node. For a description of this member, see . When overridden in a derived class, gets the text value of the current node. The value returned depends on the of the node. The following table lists node types that have a value to return. All other node types return String.Empty.Node type Value AttributeThe value of the attribute. CDATAThe content of the CDATA section. CommentThe content of the comment. DocumentTypeThe internal subset. ProcessingInstructionThe entire content, excluding the target. SignificantWhitespaceThe white space between markup in a mixed content model. TextThe content of the text node. WhitespaceThe white space between markup. XmlDeclarationThe content of the declaration. Gets The Common Language Runtime (CLR) type for the current node. The CLR type that corresponds to the typed value of the node. The default is System.String. When overridden in a derived class, gets the current xml:lang scope. The current xml:lang scope. When overridden in a derived class, gets the current xml:space scope. One of the values. If no xml:space scope exists, this property defaults to XmlSpace.None. Specifies a set of features to support on the object created by the method. Initializes a new instance of the class. Gets or sets a value indicating whether to do character checking. true to do character checking; otherwise false. The default is true.Note:If the is processing text data, it always checks that the XML names and text content are valid, regardless of the property setting. Setting to false turns off character checking for character entity references. Creates a copy of the instance. The cloned object. Gets or sets a value indicating whether the underlying stream or should be closed when the reader is closed. true to close the underlying stream or when the reader is closed; otherwise false. The default is false. Gets or sets the level of conformance which the will comply. One of the values. The default is ConformanceLevel.Document. Gets or sets a value indicating whether to ignore comments. true to ignore comments; otherwise false. The default is false. Gets or sets a value indicating whether to ignore processing instructions. true to ignore processing instructions; otherwise false. The default is false. Gets or sets a value indicating whether to ignore insignificant white space. true to ignore white space; otherwise false. The default is false. Gets or sets line number offset of the object. The line number offset. The default is 0. Gets or sets line position offset of the object. The line number offset. The default is 0. Gets or sets the used for atomized string comparisons. The that stores all the atomized strings used by all instances created using this object.The default is null. The created instance will use a new empty if this value is null. Gets or sets a value indicating whether to prohibit document type definition (DTD) processing. true to prohibit DTD processing; otherwise false. The default is true. Resets the members of the settings class to their default values. Gets or sets the to use when performing schema validation. The to use. The default is an empty object. Occurs when the reader encounters validation errors. Gets or sets a value indicating the schema validation settings. This setting applies to schema validating objects ( property set to ValidationType.Schema). A set of values. and are enabled by default. , , and are disabled by default. Gets or sets a value indicating whether the will perform validation or type assignment when reading. One of the values. The default is ValidationType.None. Sets the used to access external documents. An used to access external documents. If set to null, an is thrown when the tries to access an external resource. The default is a new with no credentials. Resolves external XML resources named by a Uniform Resource Identifier (URI). Initializes a new instance of the class. When overridden in a derived class, sets the credentials used to authenticate Web requests. An object. If this property is not set, the value defaults to null; that is, the XmlResolver has no user credentials. When overridden in a derived class, maps a URI to an object containing the actual resource. A System.IO.Stream object or null if a type other than stream is specified. The URI returned from . The current version does not use this parameter when resolving URIs. This is provided for future extensibility purposes. For example, this can be mapped to the xlink:role and used as an implementation specific argument in other scenarios. The type of object to return. The current version only returns System.IO.Stream objects. is not a Stream type. The specified URI is not an absolute URI. is null. There is a runtime error (for example, an interrupted server connection). When overridden in a derived class, resolves the absolute URI from the base and relative URIs. A representing the absolute URI or null if the relative URI cannot be resolved. The base URI used to resolve the relative URI The URI to resolve. The URI can be absolute or relative. If absolute, this value effectively replaces the value. If relative, it combines with the to make an absolute URI. is null Helps to secure another implementation of by wrapping the object and restricting the resources that the underlying has access to. Initializes a new instance of the class with the and specified. The wrapped by the . The to apply to the underlying . The calls on the before calling on the underlying . Initializes a new instance of the class with the and specified. The wrapped by the . The used to create the that will be applied to the underlying . The calls on the created before calling on the underlying . Initializes a new instance of the class with the and URL provided. The wrapped by the . The URL used to create the that will be applied to the underlying . The calls on the created before calling on the underlying . Creates using the supplied URL. The object generated from the supplied URL as defined by the default policy. The URL used to create the object. Sets credentials used to authenticate Web requests. An object. The sets the given credentials on the underlying . If this property is not set, the value defaults to null; that is, the has no user credentials. Securely maps a URI to an object containing the actual resource. This method temporarily sets the created in the constructor by calling before calling GetEntity on the underlying to open the resource. A object returned by calling GetEntity on the underlying . If a type other than stream is specified, null is returned. The URI returned from . The current version does not use this parameter when resolving URIs. This is provided for future extensibility purposes. For example, this can be mapped to the xlink:role and used as an implementation-specific argument in other scenarios. The type of object to return. The current version only returns objects. is neither null nor a type. The specified URI is not an absolute URI. is null. There is a runtime error (for example, an interrupted server connection). Resolves the absolute URI from the base and relative URIs by calling ResolveUri on the underlying . A representing the absolute URI or null if the relative URI cannot be resolved (returned by calling ResolveUri on the underlying ). The base URI used to resolve the relative URI. The URI to resolve. The URI can be absolute or relative. If absolute, this value effectively replaces the value. If relative, it combines with the to make an absolute URI. is null. Represents white space between markup in a mixed content node or white space within an xml:space= 'preserve' scope. This is also referred to as significant white space. Initializes a new instance of the class. The white space characters of the node. The object. Creates a duplicate of this node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself. For significant white space nodes, the cloned node always includes the data value, regardless of the parameter setting. Gets the local name of the node. For XmlSignificantWhitespace nodes, this property returns #significant-whitespace. Gets the qualified name of the node. For XmlSignificantWhitespace nodes, this property returns #significant-whitespace. Gets the type of the current node. For XmlSignificantWhitespace nodes, this value is XmlNodeType.SignificantWhitespace. Gets the parent of the current node. The parent node of the current node. Gets or sets the value of the node. The white space characters found in the node. Setting Value to invalid white space characters. Saves all the children of the node to the specified . The XmlWriter to which you want to save. Saves the node to the specified . The XmlWriter to which you want to save. Specifies the current xml:space scope. No xml:space scope. The xml:space scope equals default. The xml:space scope equals preserve. Represents the text content of an element or attribute. Initializes a new instance of the class. The content of the node; see the property. The parent XML document. Creates a duplicate of this node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself. Gets the local name of the node. For text nodes, this property returns #text. Gets the qualified name of the node. For text nodes, this property returns #text. Gets the type of the current node. For text nodes, this value is XmlNodeType.Text. Splits the node into two nodes at the specified offset, keeping both in the tree as siblings. The new node. The offset at which to split the node. Gets or sets the value of the node. The content of the text node. Saves all the children of the node to the specified . XmlText nodes do not have children, so this method has no effect. The XmlWriter to which you want to save. Saves the node to the specified . The XmlWriter to which you want to save. Represents a reader that provides fast, non-cached, forward-only access to XML data. Initializes a new instance of the XmlTextReader. Initializes a new instance of the class with the specified stream. The stream containing the XML data to read. is null. Initializes a new instance of the class with the specified stream and . The stream containing the XML data to read. The XmlNameTable to use. The or value is null. Initializes a new instance of the class with the specified stream, , and . The stream containing the XML fragment to parse. The of the XML fragment. This also determines what the fragment can contain. (See table below.) The in which the is to be parsed. This includes the to use, encoding, namespace scope, the current xml:lang, and the xml:space scope. is not an Element, Attribute, or Document XmlNodeType. is null. Initializes a new instance of the class with the specified . The TextReader containing the XML data to read. Initializes a new instance of the class with the specified and . The TextReader containing the XML data to read. The XmlNameTable to use. The value is null. Initializes a new instance of the class with the specified file. The URL for the file containing the XML data. The is set to this value. The specified file cannot be found. Part of the filename or directory cannot be found. is an empty string. The remote filename cannot be resolved.-or-An error occurred while processing the request. is not a valid URI. Initializes a new instance of the class with the specified URL and stream. The URL to use for resolving external resources. The is set to this value. The stream containing the XML data to read. is null. Initializes a new instance of the class with the specified URL, stream and . The URL to use for resolving external resources. The is set to this value. If is null, BaseURI is set to String.Empty. The stream containing the XML data to read. The XmlNameTable to use. The or value is null. Initializes a new instance of the class with the specified URL and . The URL to use for resolving external resources. The is set to this value. The TextReader containing the XML data to read. Initializes a new instance of the class with the specified URL, and . The URL to use for resolving external resources. The is set to this value. If is null, BaseURI is set to String.Empty. The TextReader containing the XML data to read. The XmlNameTable to use. The value is null. Initializes a new instance of the class with the specified file and . The URL for the file containing the XML data to read. The XmlNameTable to use. The value is null. The specified file cannot be found. Part of the filename or directory cannot be found. is an empty string. The remote filename cannot be resolved.-or-An error occurred while processing the request. is not a valid URI. Initializes a new instance of the class with the specified string, , and . The string containing the XML fragment to parse. The of the XML fragment. This also determines what the fragment string can contain. (See table below.) The in which the is to be parsed. This includes the to use, encoding, namespace scope, the current xml:lang, and the xml:space scope. is not an Element, Attribute, or DocumentXmlNodeType. is null. Initializes a new instance of the class with the specified . The XmlNameTable to use. Gets the number of attributes on the current node. The number of attributes on the current node. Gets the base URI of the current node. The base URI of the current node. Gets a value indicating whether the implements the binary content read methods. true if the binary content read methods are implemented; otherwise false. The class always returns true. Gets a value indicating whether the implements the method. true if the implements the method; otherwise false. The class always returns false. Gets a value indicating whether this reader can parse and resolve entities. true if the reader can parse and resolve entities; otherwise, false. The XmlTextReader class always returns true. Changes the to Closed. Gets the depth of the current node in the XML document. The depth of the current node in the XML document. Gets the encoding of the document. The encoding value. If no encoding attribute exists, and there is no byte-order mark, this defaults to UTF-8. Gets or sets a value that specifies how the reader handles entities. One of the values. If no EntityHandling is specified, it defaults to EntityHandling.ExpandCharEntities. Gets a value indicating whether the reader is positioned at the end of the stream. true if the reader is positioned at the end of the stream; otherwise, false. Gets the value of the attribute with the specified index. The value of the specified attribute. The index of the attribute. The index is zero-based. (The first attribute has index 0.) The parameter is less than 0 or greater than or equal to . Gets the value of the attribute with the specified name. The value of the specified attribute. If the attribute is not found, null is returned. The qualified name of the attribute. Gets the value of the attribute with the specified local name and namespace URI. The value of the specified attribute. If the attribute is not found, null is returned. This method does not move the reader. The local name of the attribute. The namespace URI of the attribute. Gets a collection that contains all namespaces currently in-scope. An object that contains all the current in-scope namespaces. If the reader is not positioned on an element, an empty dictionary (no namespaces) is returned. An value that specifies the type of namespace nodes to return. Gets the remainder of the buffered XML. A containing the remainder of the buffered XML. Gets a value indicating whether the class can return line information. true if the class can return line information; otherwise, false. Gets a value indicating whether the current node can have a other than String.Empty. true if the node on which the reader is currently positioned can have a Value; otherwise, false. Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema. This property always returns false. ( does not expand default attributes.) Gets a value indicating whether the current node is an empty element (for example, <MyElement/>). true if the current node is an element ( equals XmlNodeType.Element) that ends with />; otherwise, false. Gets the current line number. The current line number. Gets the current line position. The current line position. Gets the local name of the current node. The name of the current node with the prefix removed. For example, LocalName is book for the element <bk:book>.For node types that do not have a name (like Text, Comment, and so on), this property returns String.Empty. Resolves a namespace prefix in the current element's scope. The namespace URI to which the prefix maps or null if no matching prefix is found. The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. This string does not have to be atomized. The property is set to true and the value is null. Moves to the attribute with the specified index. The index of the attribute. The parameter is less than 0 or greater than or equal to . Moves to the attribute with the specified name. true if the attribute is found; otherwise, false. If false, the reader's position does not change. The qualified name of the attribute. Moves to the attribute with the specified local name and namespace URI. true if the attribute is found; otherwise, false. If false, the reader's position does not change. The local name of the attribute. The namespace URI of the attribute. Moves to the element that contains the current attribute node. true if the reader is positioned on an attribute (the reader moves to the element that owns the attribute); false if the reader is not positioned on an attribute (the position of the reader does not change). Moves to the first attribute. true if an attribute exists (the reader moves to the first attribute); otherwise, false (the position of the reader does not change). Moves to the next attribute. true if there is a next attribute; false if there are no more attributes. Gets the qualified name of the current node. The qualified name of the current node. For example, Name is bk:book for the element <bk:book>.The name returned is dependent on the of the node. The following node types return the listed values. All other node types return an empty string.Node Type Name AttributeThe name of the attribute. DocumentTypeThe document type name. ElementThe tag name. EntityReferenceThe name of the entity referenced. ProcessingInstructionThe target of the processing instruction. XmlDeclarationThe literal string xml. Gets or sets a value indicating whether to do namespace support. true to do namespace support; otherwise, false. The default is true. Setting this property after a read operation has occurred ( is not ReadState.Initial). Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. The namespace URI of the current node; otherwise an empty string. Gets the associated with this implementation. The XmlNameTable enabling you to get the atomized version of a string within the node. Gets the type of the current node. One of the values representing the type of the current node. Gets or sets a value indicating whether to normalize white space and attribute values. true to normalize; otherwise, false. The default is false. Setting this property when the reader is closed ( is ReadState.Closed). Gets the namespace prefix associated with the current node. The namespace prefix associated with the current node. Gets or sets a value indicating whether to allow DTD processing. true to disallow DTD processing; otherwise false. The default is false. Gets the quotation mark character used to enclose the value of an attribute node. The quotation mark character (" or ') used to enclose the value of an attribute node. Reads the next node from the stream. true if the next node was read successfully; false if there are no more nodes to read. An error occurred while parsing the XML. Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. true if there are nodes to return.false if the reader is not positioned on an attribute node when the initial call is made or if all the attribute values have been read.An empty attribute, such as, misc="", returns true with a single node with a value of String.Empty. Decodes Base64 and returns the decoded binary bytes. The number of bytes written to the buffer. The array of characters that serves as the buffer to which the text contents are written. The zero-based index into the array specifying where the method can begin to write to the buffer. The number of bytes to write into the buffer. The Base64 sequence is not valid. The value of is null. < 0, or < 0, or > .Length- . Decodes BinHex and returns the decoded binary bytes. The number of bytes written to your buffer. The byte array that serves as the buffer to which the decoded binary bytes are written. The zero-based index into the array specifying where the method can begin to write to the buffer. The number of bytes to write into the buffer. The BinHex sequence is not valid. The value of is null. < 0, or < 0, or > .Length- . Reads the text contents of an element into a character buffer. This method is designed to read large streams of embedded text by calling it successively. The number of characters read. This can be 0 if the reader is not positioned on an element or if there is no more text content to return in the current context. The array of characters that serves as the buffer to which the text contents are written. The position within where the method can begin writing text contents. The number of characters to write into . is greater than the space specified in the (buffer size - ). The value is null. < 0 or < 0. Reads the content and returns the Base64 decoded binary bytes. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. is not supported in the current node. The index into the buffer or index + count is larger than the allocated buffer size. Reads the content and returns the BinHex decoded binary bytes. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. is not supported on the current node. The index into the buffer or index + count is larger than the allocated buffer size. The implementation does not support this method. Reads the element and decodes the Base64 content. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. The current node is not an element node. The index into the buffer or index + count is larger than the allocated buffer size. The implementation does not support this method. The element contains mixed-content. The content cannot be converted to the requested type. Reads the element and decodes the BinHex content. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. The current node is not an element node. The index into the buffer or index + count is larger than the allocated buffer size. The implementation does not support this method. The element contains mixed-content. The content cannot be converted to the requested type. Gets the state of the reader. One of the values. Reads the contents of an element or a text node as a string. The contents of the element or text node. This can be an empty string if the reader is positioned on something other than an element or text node, or if there is no more text content to return in the current context.Note: The text node can be either an element or an attribute text node. An error occurred while parsing the XML. An invalid operation was attempted. Resets the state of the reader to ReadState.Initial. Calling ResetState if the reader was constructed using an . Documents in a single stream do not share the same encoding. Resolves the entity reference for EntityReference nodes. Gets the object used to create this instance. The object used to create this instance; null if the reader was not created using the method. Skips the children of the current node. For a description of this member, see . An that contains the current in-scope namespaces. An value that specifies the type of namespace nodes to return. For a description of this member, see . The namespace URI that is mapped to the prefix; null if the prefix is not mapped to a namespace URI. The prefix whose namespace URI you wish to find. For a description of this member, see . The prefix that is mapped to the namespace URI; null if the namespace URI is not mapped to a prefix. The namespace URI whose prefix you wish to find. Gets the text value of the current node. The value returned depends on the of the node. The following table lists node types that have a value to return. All other node types return String.Empty.Node Type Value AttributeThe value of the attribute. CDATAThe content of the CDATA section. CommentThe content of the comment. DocumentTypeThe internal subset. ProcessingInstructionThe entire content, excluding the target. SignificantWhitespaceThe white space within an xml:space= 'preserve' scope. TextThe content of the text node. WhitespaceThe white space between markup. XmlDeclarationThe content of the declaration. Gets or sets a value that specifies how white space is handled. One of the values. The default is WhitespaceHandling.All (returns Whitespace and SignificantWhitespace nodes). Invalid value specified. Setting this property when the reader is closed ( is ReadState.Closed). Gets the current xml:lang scope. The current xml:lang scope. Sets the used for resolving DTD references. The XmlResolver to use. If set to null, external resources are not resolved.In version 1.1 of the .NET Framework, the caller must be fully trusted in order to specify an XmlResolver. Gets the current xml:space scope. One of the values. If no xml:space scope exists, this property defaults to XmlSpace.None. Represents a writer that provides a fast, non-cached, forward-only way of generating streams or files containing XML data that conforms to the W3C Extensible Markup Language (XML) 1.0 and the Namespaces in XML recommendations. Creates an instance of the XmlTextWriter class using the specified stream and encoding. The stream to which you want to write. The encoding to generate. If encoding is null it writes out the stream as UTF-8 and omits the encoding attribute from the ProcessingInstruction. The encoding is not supported or the stream cannot be written to. is null. Creates an instance of the XmlTextWriter class using the specified . The TextWriter to write to. It is assumed that the TextWriter is already set to the correct encoding. Creates an instance of the class using the specified file. The filename to write to. If the file exists, it truncates it and overwrites it with the new content. The encoding to generate. If encoding is null it writes the file out as UTF-8, and omits the encoding attribute from the ProcessingInstruction. The encoding is not supported; the filename is empty, contains only white space, or contains one or more invalid characters. Access is denied. The filename is null. The directory to write to is not found. The filename includes an incorrect or invalid syntax for file name, directory name, or volume label syntax. The caller does not have the required permission. Gets the underlying stream object. The stream to which the XmlTextWriter is writing or null if the XmlTextWriter was constructed using a that does not inherit from the class. Closes this stream and the underlying stream. Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. Indicates how the output is formatted. One of the values. The default is Formatting.None (no special formatting). Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. Number of IndentChars for each level. The default is 2. Setting this property to a negative value. Gets or sets which character to use for indenting when is set to Formatting.Indented. The character to use for indenting. The default is space.Note:The XmlTextWriter allows you to set this property to any character. To ensure valid XML, you must specify a valid white space character, 0x9, 0x10, 0x13 or 0x20. Returns the closest prefix defined in the current namespace scope for the namespace URI. The matching prefix. Or null if no matching namespace URI is found in the current scope. Namespace URI whose prefix you want to find. is either null or String.Empty. Gets or sets a value indicating whether to do namespace support. true to support namespaces; otherwise, false.The default is true. You can only change this property when in the WriteState.Start state. Gets or sets which character to use to quote attribute values. The character to use to quote attribute values. This must be a single quote (&#39;) or a double quote (&#34;). The default is a double quote. Setting this property to something other than either a single or double quote. Encodes the specified binary bytes as base64 and writes out the resulting text. Byte array to encode. The position within the buffer indicating the start of the bytes to write. The number of bytes to write. is null. The buffer length minus is less than . or is less than zero. The is Closed. Encodes the specified binary bytes as binhex and writes out the resulting text. Byte array to encode. The position in the buffer indicating the start of the bytes to write. The number of bytes to write. is null. The buffer length minus is less than . or is less than zero. The is Closed. Writes out a <![CDATA[...]]> block containing the specified text. Text to place inside the CDATA block. The text would result in a non-well formed XML document. The is Closed. Forces the generation of a character entity for the specified Unicode character value. Unicode character for which to generate a character entity. The character is in the surrogate pair character range, 0xd800 - 0xdfff; or the text would result in a non-well formed XML document. The is Closed. Writes text one buffer at a time. Character array containing the text to write. The position in the buffer indicating the start of the text to write. The number of characters to write. is null. or is less than zero. -or-The buffer length minus is less than ; the call results in surrogate pair characters being split or an invalid surrogate pair being written. The is Closed. Writes out a comment <!--...--> containing the specified text. Text to place inside the comment. The text would result in a non-well formed XML document The is Closed. Writes the DOCTYPE declaration with the specified name and optional attributes. The name of the DOCTYPE. This must be non-empty. If non-null it also writes PUBLIC "pubid" "sysid" where and are replaced with the value of the given arguments. If is null and is non-null it writes SYSTEM "sysid" where is replaced with the value of this argument. If non-null it writes [subset] where subset is replaced with the value of this argument. This method was called outside the prolog (after the root element). is null or String.Empty-or- the value for would result in invalid XML. Closes the previous call. Closes any open elements or attributes and puts the writer back in the Start state. The XML document is invalid. Closes one element and pops the corresponding namespace scope. Writes out an entity reference as &name;. Name of the entity reference. The text would result in a non-well formed XML document or is either null or String.Empty. Closes one element and pops the corresponding namespace scope. Writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). Name to write. is not a valid XML name; or is either null or String.Empty. Writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). Name to write. is not a valid NmToken; or is either null or String.Empty. Writes out a processing instruction with a space between the name and text as follows: <?name text?>. Name of the processing instruction. Text to include in the processing instruction. The text would result in a non-well formed XML document. is either null or String.Empty.This method is being used to create an XML declaration after has already been called. Writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace. The local name to write. The namespace URI to associate with the name. is either null or String.Empty. is not a valid name according to the W3C Namespaces spec. Writes raw markup manually from a character buffer. Character array containing the text to write. The position within the buffer indicating the start of the text to write. The number of characters to write. is null. or is less than zero.-or-The buffer length minus is less than . Writes raw markup manually from a string. String containing the text to write. Writes the start of an attribute. Namespace prefix of the attribute. LocalName of the attribute. NamespaceURI of the attribute is either null or String.Empty. Writes the XML declaration with the version "1.0". This is not the first write method called after the constructor. Writes the XML declaration with the version "1.0" and the standalone attribute. If true, it writes "standalone=yes"; if false, it writes "standalone=no". This is not the first write method called after the constructor. Writes the specified start tag and associates it with the given namespace and prefix. The namespace prefix of the element. The local name of the element. The namespace URI to associate with the element. If this namespace is already in scope and has an associated prefix then the writer automatically writes that prefix also. The writer is closed. Gets the state of the writer. One of the values. Writes the given text content. Text to write. The text string contains an invalid surrogate pair. Generates and writes the surrogate character entity for the surrogate character pair. The low surrogate. This must be a value between 0xDC00 and 0xDFFF. The high surrogate. This must be a value between 0xD800 and 0xDBFF. An invalid surrogate character pair was passed. Writes out the given white space. The string of white space characters. The string contains non-white space characters. Gets the current xml:lang scope. The current xml:lang or null if there is no xml:lang in the current scope. Gets an representing the current xml:space scope. An XmlSpace representing the current xml:space scope.Value Meaning None This is the default if no xml:space scope exists. Default The current scope is xml:space="default". Preserve The current scope is xml:space="preserve". Represents the XML type for the string. This allows the string to be read as a particular XML type, for example a CDATA section type. CDATA type. ID type. IDREF type. IDREFS type. ENTITY type. ENTITIES type. NMTOKEN type. NMTOKENS type. NOTATION type. ENUMERATION type. QName type. NCName type. No type. Resolves external XML resources named by a Uniform Resource Identifier (URI). Creates a new instance of the XmlUrlResolver class. Sets credentials used to authenticate Web requests. An object. If this property is not set, the value defaults to null; that is, the XmlUrlResolver has no user credentials. Maps a URI to an object containing the actual resource. A System.IO.Stream object or null if a type other than stream is specified. The URI returned from The current implementation does not use this parameter when resolving URIs. This is provided for future extensibility purposes. For example, this can be mapped to the xlink:role and used as an implementation specific argument in other scenarios. The type of object to return. The current implementation only returns System.IO.Stream objects. is neither null nor a Stream type. The specified URI is not an absolute URI. is null. There is a runtime error (for example, an interrupted server connection). Resolves the absolute URI from the base and relative URIs. A representing the absolute URI, or null if the relative URI cannot be resolved. The base URI used to resolve the relative URI. The URI to resolve. The URI can be absolute or relative. If absolute, this value effectively replaces the value. If relative, it combines with the to make an absolute URI. is null or is null Represents a reader that provides document type definition (DTD), XML-Data Reduced (XDR) schema, and XML Schema definition language (XSD) validation. Initializes a new instance of the XmlValidatingReader class with the specified values. The stream containing the XML fragment to parse. The of the XML fragment. This determines what the fragment can contain (see table below). The in which the XML fragment is to be parsed. This includes the to use, encoding, namespace scope, current xml:lang, and xml:space scope. is not one of the node types listed in the table below. Initializes a new instance of the XmlValidatingReader class with the specified values. The string containing the XML fragment to parse. The of the XML fragment. This also determines what the fragment string can contain (see table below). The in which the XML fragment is to be parsed. This includes the to use, encoding, namespace scope, current xml:lang, and xml:space scope. is not one of the node types listed in the table below. Initializes a new instance of the XmlValidatingReader class that validates the content returned from the given . The XmlReader to read from while validating. The current implementation supports only . The reader specified is not an XmlTextReader. Gets the number of attributes on the current node. The number of attributes on the current node. This number includes default attributes. Gets the base URI of the current node. The base URI of the current node. Gets a value indicating whether the implements the binary content read methods. true if the binary content read methods are implemented; otherwise false. The class returns true. Gets a value indicating whether this reader can parse and resolve entities. true if the reader can parse and resolve entities; otherwise, false. XmlValidatingReader always returns true. Changes the to Closed. Gets the depth of the current node in the XML document. The depth of the current node in the XML document. Gets the encoding attribute for the document. The encoding value. If no encoding attribute exists, and there is not byte-order mark, this defaults to UTF-8. Gets or sets a value that specifies how the reader handles entities. One of the values. If no EntityHandling is specified, it defaults to EntityHandling.ExpandEntities. Invalid value was specified. Gets a value indicating whether the reader is positioned at the end of the stream. true if the reader is positioned at the end of the stream; otherwise, false. Gets the value of the attribute with the specified index. The value of the specified attribute. The index of the attribute. The index is zero-based. (The first attribute has index 0.) The parameter is less than 0 or greater than or equal to . Gets the value of the attribute with the specified name. The value of the specified attribute. If the attribute is not found, null is returned. The qualified name of the attribute. Gets the value of the attribute with the specified local name and namespace Uniform Resource Identifier (URI). The value of the specified attribute. If the attribute is not found, null is returned. This method does not move the reader. The local name of the attribute. The namespace URI of the attribute. Gets a value indicating whether the class can return line information. true if the class can return line information; otherwise, false. Gets a value indicating whether the current node can have a other than String.Empty. true if the node on which the reader is currently positioned can have a Value; otherwise, false. Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the document type definition (DTD) or schema. true if the current node is an attribute whose value was generated from the default value defined in the DTD or schema; false if the attribute value was explicitly set. Gets a value indicating whether the current node is an empty element (for example, <MyElement/>). true if the current node is an element ( equals XmlNodeType.Element) that ends with />; otherwise, false. Gets the current line number. The current line number. The starting value for this property is 1. Gets the current line position. The current line position. The starting value for this property is 1. Gets the local name of the current node. The name of the current node with the prefix removed. For example, LocalName is book for the element <bk:book>.For node types that do not have a name (like Text, Comment, and so on), this property returns String.Empty. Resolves a namespace prefix in the current element's scope. The namespace URI to which the prefix maps or null if no matching prefix is found. The prefix whose namespace Uniform Resource Identifier (URI) you want to resolve. To match the default namespace, pass an empty string. Moves to the attribute with the specified index. The index of the attribute. The parameter is less than 0 or greater than or equal to . Moves to the attribute with the specified name. true if the attribute is found; otherwise, false. If false, the position of the reader does not change. The qualified name of the attribute. Moves to the attribute with the specified local name and namespace Uniform Resource Identifier (URI). true if the attribute is found; otherwise, false. If false, the position of the reader does not change. The local name of the attribute. The namespace URI of the attribute. Moves to the element that contains the current attribute node. true if the reader is positioned on an attribute (the reader moves to the element that owns the attribute); false if the reader is not positioned on an attribute (the position of the reader does not change). Moves to the first attribute. true if an attribute exists (the reader moves to the first attribute); otherwise, false (the position of the reader does not change). Moves to the next attribute. true if there is a next attribute; false if there are no more attributes. Gets the qualified name of the current node. The qualified name of the current node. For example, Name is bk:book for the element <bk:book>.The name returned is dependent on the of the node. The following node types return the listed values. All other node types return an empty string.Node Type Name AttributeThe name of the attribute. DocumentTypeThe document type name. ElementThe tag name. EntityReferenceThe name of the entity referenced. ProcessingInstructionThe target of the processing instruction. XmlDeclarationThe literal string xml. Gets or sets a value indicating whether to do namespace support. true to do namespace support; otherwise, false. The default is true. Gets the namespace Uniform Resource Identifier (URI) (as defined in the World Wide Web Consortium (W3C) Namespace specification) of the node on which the reader is positioned. The namespace URI of the current node; otherwise an empty string. Gets the associated with this implementation. XmlNameTable that enables you to get the atomized version of a string within the node. Gets the type of the current node. One of the values representing the type of the current node. Gets the namespace prefix associated with the current node. The namespace prefix associated with the current node. Gets the quotation mark character used to enclose the value of an attribute node. The quotation mark character (" or ') used to enclose the value of an attribute node. Reads the next node from the stream. true if the next node was read successfully; false if there are no more nodes to read. Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. true if there are nodes to return.false if the reader is not positioned on an attribute node when the initial call is made or if all the attribute values have been read.An empty attribute, such as, misc="", returns true with a single node with a value of String.Empty. Reads the content and returns the Base64 decoded binary bytes. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. is not supported on the current node. The index into the buffer or index + count is larger than the allocated buffer size. Reads the content and returns the BinHex decoded binary bytes. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. is not supported on the current node. The index into the buffer or index + count is larger than the allocated buffer size. The implementation does not support this method. Reads the element and decodes the Base64 content. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. The current node is not an element node. The index into the buffer or index + count is larger than the allocated buffer size. The implementation does not support this method. The element contains mixed-content. The content cannot be converted to the requested type. Reads the element and decodes the BinHex content. The number of bytes written to the buffer. The buffer into which to copy the resulting text. This value cannot be null. The offset into the buffer where to start copying the result. The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method. The value is null. The current node is not an element node. The index into the buffer or index + count is larger than the allocated buffer size. The implementation does not support this method. The element contains mixed-content. The content cannot be converted to the requested type. Gets the used to construct this XmlValidatingReader. The XmlReader specified in the constructor. Gets the state of the reader. One of the values. Reads the contents of an element or text node as a string. The contents of the element or text node. This can be an empty string if the reader is positioned on something other than an element or text node, or if there is no more text content to return in the current context.Note:The text node can be either an element or an attribute text node. Gets the common language runtime type for the specified XML Schema definition language (XSD) type. The common language runtime type for the specified XML Schema type. Resolves the entity reference for EntityReference nodes. The reader is not positioned on an EntityReference node. Gets a to use for validation. The XmlSchemaCollection to use for validation. Gets a schema type object. , , or depending whether the node value is a built in XML Schema definition language (XSD) type or a user defined simpleType or complexType; null if the current node has no schema type. Gets the object that was used to create this instance. null because objects are not instantiated using the class and the method. For a description of this member, see . For a description of this member, see . For a description of this member, see . Sets an event handler for receiving information about document type definition (DTD), XML-Data Reduced (XDR) schema, and XML Schema definition language (XSD) schema validation errors. Gets or sets a value indicating the type of validation to perform. One of the values. If this property is not set, it defaults to ValidationType.Auto. Setting the property after a Read has been called. Gets the text value of the current node. The value returned depends on the of the node. The following table lists node types that have a value to return. All other node types return String.Empty.Node Type Value AttributeThe value of the attribute. CDATAThe content of the CDATA section. CommentThe content of the comment. DocumentTypeThe internal subset. ProcessingInstructionThe entire content, excluding the target. SignificantWhitespaceThe white space between markup in a mixed content model. TextThe content of the text node. WhitespaceThe white space between markup. XmlDeclarationThe content of the declaration. Gets the current xml:lang scope. The current xml:lang scope. Sets the used for resolving external document type definition (DTD) and schema location references. The XmlResolver is also used to handle any import or include elements found in XML Schema definition language (XSD) schemas. The XmlResolver to use. If set to null, external resources are not resolved.In version 1.1 of the .NET Framework, the caller must be fully trusted to specify an XmlResolver. Gets the current xml:space scope. One of the values. If no xml:space scope exists, this property defaults to XmlSpace.None. Represents white space in element content. Initializes a new instance of the class. The white space characters of the node. The object. Creates a duplicate of this node. The cloned node. true to recursively clone the subtree under the specified node; false to clone only the node itself. For white space nodes, the cloned node always includes the data value, regardless of the parameter setting. Gets the local name of the node. For XmlWhitespace nodes, this property returns #whitespace. Gets the qualified name of the node. For XmlWhitespace nodes, this property returns #whitespace. Gets the type of the node. For XmlWhitespace nodes, the value is . Gets the parent of the current node. The parent node of the current node. Gets or sets the value of the node. The white space characters found in the node. Setting to invalid white space characters. Saves all the children of the node to the specified . The to which you want to save. Saves the node to the specified . The to which you want to save. Represents a writer that provides a fast, non-cached, forward-only means of generating streams or files containing XML data. Initializes a new instance of the class. When overridden in a derived class, closes this stream and the underlying stream. A call is made to write more output after Close has been called or the result of this call is an invalid XML document. Creates a new instance using the specified stream. An object. The stream to which you want to write. The writes XML 1.0 text syntax and appends it to the specified stream. The value is null. Creates a new instance using the stream and object. An object. The stream to which you want to write. The writes XML 1.0 text syntax and appends it to the specified stream The object used to configure the new instance. If this is null, a with default settings is used.If the is being used with the method, you should use the property to obtain an object with the correct settings. This ensures that the created object has the correct output settings. The value is null. Creates a new instance using the specified . An object. The to which you want to write. The writes XML 1.0 text syntax and appends it to the specified . The value is null. Creates a new instance using the and objects. An object. The to which you want to write. The writes XML 1.0 text syntax and appends it to the specified . The object used to configure the new instance. If this is null, a with default settings is used.If the is being used with the method, you should use the property to obtain an object with the correct settings. This ensures that the created object has the correct output settings. The value is null. Creates a new instance using the specified filename. An object. The file to which you want to write. The creates a file at the specified path and writes to it in XML 1.0 text syntax. The must be a file system path. The value is null. Creates a new instance using the filename and object. An object. The file to which you want to write. The creates a file at the specified path and writes to it in XML 1.0 text syntax. The must be a file system path. The object used to configure the new instance. If this is null, a with default settings is used.If the is being used with the method, you should use the property to obtain an object with the correct settings. This ensures that the created object has the correct output settings. The value is null. Creates a new instance using the specified . An object. The to which to write to. Content written by the is appended to the . The value is null. Creates a new instance using the and objects. An object. The to which to write to. Content written by the is appended to the . The object used to configure the new instance. If this is null, a with default settings is used.If the is being used with the method, you should use the property to obtain an object with the correct settings. This ensures that the created object has the correct output settings. The value is null. Creates a new instance using the specified object. An object that is wrapped around the specified object. The object that you want to use as the underlying writer. The value is null. Creates a new instance using the specified and objects. An object that is wrapped around the specified object. The object that you want to use as the underlying writer. The object used to configure the new instance. If this is null, a with default settings is used.If the is being used with the method, you should use the property to obtain an object with the correct settings. This ensures that the created object has the correct output settings. The value is null. Releases the unmanaged resources used by the and optionally releases the managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI. The matching prefix or null if no matching namespace URI is found in the current scope. The namespace URI whose prefix you want to find. is either null or String.Empty. Gets the object used to create this instance. The object used to create this writer instance. If this writer was not created using the method, this property returns null. For a description of this member, see . When overridden in a derived class, writes out all the attributes found at the current position in the . The XmlReader from which to copy the attributes. true to copy the default attributes from the XmlReader; otherwise, false. is null. The reader is not positioned on an element, attribute or XmlDeclaration node. When overridden in a derived class, writes out the attribute with the specified local name and value. The local name of the attribute. The value of the attribute. The state of writer is not WriteState.Element or writer is closed. The xml:space or xml:lang attribute value is invalid. When overridden in a derived class, writes an attribute with the specified local name, namespace URI, and value. The local name of the attribute. The namespace URI to associate with the attribute. The value of the attribute. The state of writer is not WriteState.Element or writer is closed. The xml:space or xml:lang attribute value is invalid. When overridden in a derived class, writes out the attribute with the specified prefix, local name, namespace URI, and value. The namespace prefix of the attribute. The local name of the attribute. The namespace URI of the attribute. The value of the attribute. The state of writer is not WriteState.Element or writer is closed. The xml:space or xml:lang attribute value is invalid. The or is null. When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text. Byte array to encode. The position in the buffer indicating the start of the bytes to write. The number of bytes to write. is null. or is less than zero. -or-The buffer length minus is less than . When overridden in a derived class, encodes the specified binary bytes as BinHex and writes out the resulting text. Byte array to encode. The position in the buffer indicating the start of the bytes to write. The number of bytes to write. is null. The writer is closed or in error state. or is less than zero. -or-The buffer length minus is less than . When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text. The text to place inside the CDATA block. The text would result in a non-well formed XML document. When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value. The Unicode character for which to generate a character entity. The character is in the surrogate pair character range, 0xd800 - 0xdfff. When overridden in a derived class, writes text one buffer at a time. Character array containing the text to write. The position in the buffer indicating the start of the text to write. The number of characters to write. is null. or is less than zero. -or-The buffer length minus is less than ; the call results in surrogate pair characters being split or an invalid surrogate pair being written. The parameter value is not valid. When overridden in a derived class, writes out a comment <!--...--> containing the specified text. Text to place inside the comment. The text would result in a non-well formed XML document. When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes. The name of the DOCTYPE. This must be non-empty. If non-null it also writes PUBLIC "pubid" "sysid" where and are replaced with the value of the given arguments. If is null and is non-null it writes SYSTEM "sysid" where is replaced with the value of this argument. If non-null it writes [subset] where subset is replaced with the value of this argument. This method was called outside the prolog (after the root element). The value for would result in invalid XML. When overridden in a derived class, writes an element with the specified local name and value. The local name of the element. The value of the element. The value is null or an empty string.-or-The parameter values are not valid. There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character may be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instruction, or CDATA sections. If a character not valid for the output encoding is encountered, an is thrown. When overridden in a derived class, writes an element with the specified local name, namespace URI, and value. The local name of the element. The namespace URI to associate with the element. The value of the element. The value is null or an empty string.-or-The parameter values are not valid. There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character may be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instruction, or CDATA sections. If a character not valid for the output encoding is encountered, an is thrown. Writes an element with the specified local name, namespace URI, and value. The prefix of the element. The local name of the element. The namespace URI of the element. The value of the element. The value is null or an empty string.-or-The parameter values are not valid. There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character may be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instruction, or CDATA sections. If a character not valid for the output encoding is encountered, an is thrown. When overridden in a derived class, closes the previous call. When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state. The XML document is invalid. When overridden in a derived class, closes one element and pops the corresponding namespace scope. This results in an invalid XML document. When overridden in a derived class, writes out an entity reference as &name;. The name of the entity reference. is either null or String.Empty. When overridden in a derived class, closes one element and pops the corresponding namespace scope. When overridden in a derived class, writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). The name to write. is not a valid XML name; or is either null or String.Empty. When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). The name to write. is not a valid NmToken; or is either null or String.Empty. When overridden in a derived class, copies everything from the reader to the writer and moves the reader to the start of the next sibling. The to read from. true to copy the default attributes from the XmlReader; otherwise, false. is null. contains invalid characters. Copies everything from the object to the writer. The position of the remains unchanged. The to copy from. true to copy the default attributes; otherwise, false. is null. When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>. The name of the processing instruction. The text to include in the processing instruction. The text would result in a non-well formed XML document. is either null or String.Empty.This method is being used to create an XML declaration after has already been called. When overridden in a derived class, writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace. The local name to write. The namespace URI for the name. is either null or String.Empty. is not a valid name. When overridden in a derived class, writes raw markup manually from a character buffer. Character array containing the text to write. The position within the buffer indicating the start of the text to write. The number of characters to write. is null. or is less than zero. -or-The buffer length minus is less than . When overridden in a derived class, writes raw markup manually from a string. String containing the text to write. is either null or String.Empty. Writes the start of an attribute with the specified local name. The local name of the attribute. There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character may be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instruction, or CDATA sections. If a character not valid for the output encoding is encountered, an is thrown. Writes the start of an attribute with the specified local name and namespace URI. The local name of the attribute. The namespace URI of the attribute. There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character may be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instruction, or CDATA sections. If a character not valid for the output encoding is encountered, an is thrown. When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI. The namespace prefix of the attribute. The local name of the attribute. The namespace URI for the attribute. There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character may be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instruction, or CDATA sections. If a character not valid for the output encoding is encountered, an is thrown. When overridden in a derived class, writes the XML declaration with the version "1.0". This is not the first write method called after the constructor. When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute. If true, it writes "standalone=yes"; if false, it writes "standalone=no". This is not the first write method called after the constructor. When overridden in a derived class, writes out a start tag with the specified local name. The local name of the element. The writer is closed. There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character may be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instruction, or CDATA sections. If a character not valid for the output encoding is encountered, an is thrown. When overridden in a derived class, writes the specified start tag and associates it with the given namespace. The local name of the element. The namespace URI to associate with the element. If this namespace is already in scope and has an associated prefix, the writer automatically writes that prefix also. The writer is closed. There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character may be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instruction, or CDATA sections. If a character not valid for the output encoding is encountered, an is thrown. When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. The namespace prefix of the element. The local name of the element. The namespace URI to associate with the element. The writer is closed. There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character may be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instruction, or CDATA sections. If a character not valid for the output encoding is encountered, an is thrown. When overridden in a derived class, gets the state of the writer. One of the values. When overridden in a derived class, writes the given text content. The text to write. The text string contains an invalid surrogate pair. When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair. The low surrogate. This must be a value between 0xDC00 and 0xDFFF. The high surrogate. This must be a value between 0xD800 and 0xDBFF. An invalid surrogate character pair was passed. Writes a value. The value to write. An invalid value was specified. Writes a value. The value to write. An invalid value was specified. Writes a value. The value to write. An invalid value was specified. Writes a value. The value to write. An invalid value was specified. Writes a value. The value to write. An invalid value was specified. Writes a value. The value to write. An invalid value was specified. Writes the object value. The object value to write. Note   With the release of the .NET Framework 3.5, this method accepts as a parameter. An invalid value was specified. The is null. The writer is closed or in error state. Writes a single-precision floating-point number. The single-precision floating-point number to write. An invalid value was specified. Writes a value. The value to write. An invalid value was specified. When overridden in a derived class, writes out the given white space. The string of white space characters. The string contains non-white space characters. When overridden in a derived class, gets the current xml:lang scope. The current xml:lang scope. When overridden in a derived class, gets an representing the current xml:space scope. An XmlSpace representing the current xml:space scope.Value Meaning NoneThis is the default if no xml:space scope exists. DefaultThe current scope is xml:space="default". PreserveThe current scope is xml:space="preserve". Specifies a set of features to support on the object created by the method. Initializes a new instance of the class. Gets or sets a value indicating whether to do character checking. true to do character checking; otherwise false. The default is true. Creates a copy of the instance. The cloned object. Gets or sets a value indicating whether the should also close the underlying stream or when the method is called. true to also close the underlying stream or ; otherwise false. The default is false. Gets or sets the level of conformance which the complies with. One of the values. The default is ConformanceLevel.Document. Gets or sets the type of text encoding to use. The text encoding to use. The default is Encoding.UTF-8. Gets or sets a value indicating whether to indent elements. true to write individual elements on new lines and indent; otherwise false. The default is false. Gets or sets the character string to use when indenting. This setting is used when the property is set to true. The character string to use when indenting. This can be set to any string value. However, to ensure valid XML, you should specify only valid white space characters, such as space characters, tabs, carriage returns, or line feeds. The default is two spaces. The value assigned to the is null. Gets or sets the character string to use for line breaks. The character string to use for line breaks. This can be set to any string value. However, to ensure valid XML, you should specify only valid white space characters, such as space characters, tabs, carriage returns, or line feeds. The default is \r\n (carriage return, new line). The value assigned to the is null. Gets or sets a value indicating whether to normalize line breaks in the output. One of the values. The default is . Gets or sets a value indicating whether to write attributes on a new line. true to write attributes on individual lines; otherwise false. The default is false.Note:This setting has no effect when the property value is false.When is set to true, each attribute is pre-pended with a new line and one extra level of indentation. Gets or sets a value indicating whether to write an XML declaration. true to omit the XML declaration; otherwise false. The default is false, an XML declaration is written. Gets the method used to serialize the output. One of the values. The default is . Resets the members of the settings class to their default values. Converts the supplied to a equivalent. The equivalent of the supplied string. The string to convert.Note   The string must conform to a subset of the W3C Recommendation for the XML dateTime type. For more information see http://www.w3.org/TR/xmlschema-2/#dateTime. is null. The argument passed to this method is outside the range of allowable values. For information about allowable values, see . The argument passed to this method does not conform to a subset of the W3C Recommendations for the XML dateTime type. For more information see http://www.w3.org/TR/xmlschema-2/#dateTime. Converts the supplied to a equivalent. The equivalent of the supplied string. The string to convert. The format from which is converted. The format parameter can be any subset of the W3C Recommendation for the XML dateTime type. (For more information see http://www.w3.org/TR/xmlschema-2/#dateTime.) The string is validated against this format. is null. or is an empty string or is not in the specified format. Converts the supplied to a equivalent. The equivalent of the supplied string. The string to convert. An array of formats from which can be converted. Each format in can be any subset of the W3C Recommendation for the XML dateTime type. (For more information see http://www.w3.org/TR/xmlschema-2/#dateTime.) The string is validated against one of these formats. Converts the supplied to a . A representation of the supplied . The to be converted. Converts the supplied to a in the specified format. A representation in the specified format of the supplied . The to be converted. The format to which is converted. The format parameter can be any subset of the W3C Recommendation for the XML dateTime type. (For more information see http://www.w3.org/TR/xmlschema-2/#dateTime.) Gets or sets a value indicating the maximum allowable number of characters in a document that result from expanding entities. The maximum allowable number of characters from expanded entities. The default is 0. Gets or sets a value indicating the maximum allowable number of characters XML document. A zero (0) value means no limits on the size of the XML document. A non-zero value specifies the maximum size, in characters. The maximum allowable number of characters in an XML document. The default is 0. Gets the value of the attribute with the specified index. The value of the specified attribute. The index of the attribute. The parameter is less than 0 or greater than or equal to . Gets the value of the attribute with the specified name. The value of the specified attribute. If the attribute is not found, null is returned. The qualified name of the attribute. Gets the value of the attribute with the specified local name and namespace URI. The value of the specified attribute. If the attribute is not found, null is returned. The local name of the attribute. The namespace URI of the attribute. Gets the quotation mark character used to enclose the value of an attribute node. XmlNodeReader always uses a double quote ("). For a description of this member, see . true if and can be provided; otherwise, false. Gets a value indicating whether the class can return line information. true if and can be provided; otherwise, false. Defines the post-schema-validation infoset of a validated XML node. Gets a value indicating if this validated XML node was set as the result of a default being applied during XML Schema Definition Language (XSD) schema validation. true if this validated XML node was set as the result of a default being applied during schema validation; otherwise, false. Gets a value indicating if the value for this validated XML node is nil. true if the value for this validated XML node is nil; otherwise, false. Gets the dynamic schema type for this validated XML node. An . Gets the compiled that corresponds to this validated XML node. An . Gets the compiled that corresponds to this validated XML node. An . Gets the static XML Schema Definition Language (XSD) schema type of this validated XML node. An . Gets the value of this validated XML node. An value. Returns detailed information related to the ValidationEventHandler. Gets the associated with the validation event. The XmlSchemaException associated with the validation event. Gets the text description corresponding to the validation event. The text description. Gets the severity of the validation event. An value representing the severity of the validation event. Represents the callback method that will handle XML schema validation events and the . The source of the event. Note   Determine the type of a sender before using it in your code. You cannot assume that the sender is an instance of a particular type. The sender is also not guaranteed to not be null. Always surround your casts with failure handling logic. An that contains the event data. Represents the typed value of a validated XML element or attribute. The class cannot be inherited. Returns a copy of this object. An object copy of this object. Gets a value indicating whether the validated XML element or attribute is an XPath node or an atomic value. true if the validated XML element or attribute is an XPath node; false if the validated XML element or attribute is an atomic value. For a description of this member, see . Gets the string value of the validated XML element or attribute. The string value of the validated XML element or attribute. Gets the current validated XML element or attribute as a boxed object of the most appropriate Microsoft .NET Framework type according to its schema type. The current validated XML element or attribute as a boxed object of the most appropriate .NET Framework type. Gets the string value of the validated XML element or attribute. The string value of the validated XML element or attribute. Returns the validated XML element or attribute's value as the type specified using the object specified to resolve namespace prefixes. The value of the validated XML element or attribute as the type requested. The type to return the validated XML element or attribute's value as. The object used to resolve namespace prefixes. The validated XML element or attribute's value is not in the correct format for the target type. The attempted cast is not valid. The attempted cast resulted in an overflow. Gets the validated XML element or attribute's value as a . The validated XML element or attribute's value as a . The validated XML element or attribute's value is not in the correct format for the type. The attempted cast to is not valid. Gets the validated XML element or attribute's value as a . The validated XML element or attribute's value as a . The validated XML element or attribute's value is not in the correct format for the type. The attempted cast to is not valid. Gets the validated XML element or attribute's value as a . The validated XML element or attribute's value as a . The validated XML element or attribute's value is not in the correct format for the type. The attempted cast to is not valid. The attempted cast resulted in an overflow. Gets the validated XML element or attribute's value as an . The validated XML element or attribute's value as an . The validated XML element or attribute's value is not in the correct format for the type. The attempted cast to is not valid. The attempted cast resulted in an overflow. Gets the validated XML element or attribute's value as an . The validated XML element or attribute's value as an . The validated XML element or attribute's value is not in the correct format for the type. The attempted cast to is not valid. The attempted cast resulted in an overflow. Gets the Microsoft .NET Framework type of the validated XML element or attribute. The .NET Framework type of the validated XML element or attribute. The default value is . Gets the for the validated XML element or attribute. The for the validated XML element or attribute. An in-memory representation of an XML Schema as specified in the World Wide Web Consortium (W3C) XML Schema Part 1: Structures and XML Schema Part 2: Datatypes specifications. Initializes a new instance of the class. Gets or sets the form for attributes declared in the target namespace of the schema. The value that indicates if attributes from the target namespace are required to be qualified with the namespace prefix. The default is . Gets the post-schema-compilation value of all the global attribute groups in the schema. An collection of all the global attribute groups in the schema. Gets the post-schema-compilation value for all the attributes in the schema. An collection of all the attributes in the schema. Gets or sets the blockDefault attribute which sets the default value of the block attribute on element and complex types in the targetNamespace of the schema. An value representing the different methods for preventing derivation. The default value is XmlSchemaDerivationMethod.None. Compiles the XML Schema Object Model (SOM) into schema information for validation. Used to check the syntactic and semantic structure of the programmatically built SOM. Semantic validation checking is performed during compilation. The validation event handler that receives information about XML Schema validation errors. Compiles the XML Schema Object Model (SOM) into schema information for validation. Used to check the syntactic and semantic structure of the programmatically built SOM. Semantic validation checking is performed during compilation. The validation event handler that receives information about the XML Schema validation errors. The XmlResolver used to resolve namespaces referenced in include and import elements. Gets or sets the form for elements declared in the target namespace of the schema. The value that indicates if elements from the target namespace are required to be qualified with the namespace prefix. The default is . Gets the post-schema-compilation value for all the elements in the schema. An collection of all the elements in the schema. Gets or sets the finalDefault attribute which sets the default value of the final attribute on elements and complex types in the target namespace of the schema. An value representing the different methods for preventing derivation. The default value is XmlSchemaDerivationMethod.None. Gets the post-schema-compilation value of all the groups in the schema. An collection of all the groups in the schema. Gets or sets the string ID. The ID of the string. The default value is String.Empty. Gets the collection of included and imported schemas. An of the included and imported schemas. The XML schema instance namespace. This field is constant. Indicates if the schema has been compiled. true if schema has been compiled, otherwise, false. The default value is false. Gets the collection of schema elements in the schema and is used to add new element types at the schema element level. An of schema elements in the schema. The XML schema namespace. This field is constant. Gets the post-schema-compilation value for all notations in the schema. An collection of all notations in the schema. Reads an XML Schema from the supplied stream. The object representing the XML Schema. The supplied data stream. The validation event handler that receives information about XML Schema syntax errors. An is raised if no is specified. Reads an XML Schema from the supplied . The object representing the XML Schema. The TextReader containing the XML Schema to read. The validation event handler that receives information about the XML Schema syntax errors. An is raised if no is specified. Reads an XML Schema from the supplied . The object representing the XML Schema. The XmlReader containing the XML Schema to read. The validation event handler that receives information about the XML Schema syntax errors. An is raised if no is specified. Gets the post-schema-compilation value of all schema types in the schema. An of all schema types in the schema. Gets or sets the Uniform Resource Identifier (URI) of the schema target namespace. The schema target namespace. Gets and sets the qualified attributes which do not belong to the schema target namespace. An array of qualified objects that do not belong to the schema target namespace. Gets or sets the version of the schema. The version of the schema. The default value is String.Empty. Writes the XML Schema to the supplied data stream. The supplied data stream. Writes the XML Schema to the supplied using the specified. The supplied data stream. The . Writes the XML Schema to the supplied . The to write to. Writes the XML Schema to the supplied . The to write to. The . Writes the XML Schema to the supplied . The to write to. The parameter is null. Writes the XML Schema to the supplied . The to write to. The . Represents the World Wide Web Consortium (W3C) all element (compositor). Initializes a new instance of the class. Gets the collection of XmlSchemaElement elements contained within the all compositor. The collection of elements contained in XmlSchemaAll. The base class for any element that can contain annotation elements. Initializes a new instance of the class. Gets or sets the annotation property. An representing the annotation property. Gets or sets the string id. The string id. The default is String.Empty.Optional. Gets or sets the qualified attributes that do not belong to the current schema's target namespace. An array of qualified objects that do not belong to the schema's target namespace. Represents the World Wide Web Consortium (W3C) annotation element. Initializes a new instance of the class. Gets or sets the string id. The string id. The default is String.Empty.Optional. Gets the Items collection that is used to store the appinfo and documentation child elements. An of appinfo and documentation child elements. Gets or sets the qualified attributes that do not belong to the schema's target namespace. An array of objects that do not belong to the schema's target namespace. Represents the World Wide Web Consortium (W3C) any element. Initializes a new instance of the class. Gets or sets the namespaces containing the elements that can be used. Namespaces for elements that are available for use. The default is ##any.Optional. Gets or sets information about how an application or XML processor should handle the validation of XML documents for the elements specified by the any element. One of the values. If no processContents attribute is specified, the default is Strict. Represents the World Wide Web Consortium (W3C) anyAttribute element. Initializes a new instance of the class. Gets or sets the namespaces containing the attributes that can be used. Namespaces for attributes that are available for use. The default is ##any.Optional. Gets or sets information about how an application or XML processor should handle the validation of XML documents for the attributes specified by the anyAttribute element. One of the values. If no processContents attribute is specified, the default is Strict. Represents the World Wide Web Consortium (W3C) appinfo element. Initializes a new instance of the class. Gets or sets an array of objects that represents the appinfo child nodes. An array of objects that represents the appinfo child nodes. Gets or sets the source of the application information. A Uniform Resource Identifier (URI) reference. The default is String.Empty.Optional. Represents the attribute element from the XML Schema as specified by the World Wide Web Consortium (W3C). Attributes provide additional information for other document elements. The attribute tag is nested between the tags of a document's element for the schema. The XML document displays attributes as named items in the opening tag of an element. Initializes a new instance of the class. Gets an object representing the type of the attribute based on the or of the attribute. An object. Gets the common language runtime (CLR) object based on the or of the attribute that holds the post-compilation value of the AttributeType property. The common runtime library (CLR) object that holds the post-compilation value of the AttributeType property. Gets or sets the default value for the attribute. The default value for the attribute. The default is a null reference.Optional. Gets or sets the fixed value for the attribute. The fixed value for the attribute. The default is null.Optional. Gets or sets the form for the attribute. One of the values. The default is the value of the of the schema element containing the attribute.Optional. Gets or sets the name of the attribute. The name of the attribute. Gets the qualified name for the attribute. The post-compilation value of the QualifiedName property. Gets or sets the name of an attribute declared in this schema (or another schema indicated by the specified namespace). The name of the attribute declared. Gets or sets the attribute type to a simple type. The simple type defined in this schema. Gets or sets the name of the simple type defined in this schema (or another schema indicated by the specified namespace). The name of the simple type. Gets or sets information about how the attribute is used. One of the following values: None, Prohibited, Optional, or Required. The default is Optional.Optional. Represents the attributeGroup element from the XML Schema as specified by the World Wide Web Consortium (W3C). AttributesGroups provides a mechanism to group a set of attribute declarations so that they can be incorporated as a group into complex type definitions. Initializes a new instance of the class. Gets or sets the component of the attribute group. The . Gets the collection of attributes for the attribute group. Contains XmlSchemaAttribute and XmlSchemaAttributeGroupRef elements. The collection of attributes for the attribute group. Gets or sets the name of the attribute group. The name of the attribute group. Gets the qualified name of the attribute group. An object representing the qualified name of the attribute group. Gets the redefined attribute group property from the XML Schema. The redefined attribute group property. Represents the attributeGroup element with the ref attribute from the XML Schema as specified by the World Wide Web Consortium (W3C). AttributesGroupRef is the reference for an attributeGroup, name property contains the attribute group being referenced. Initializes a new instance of the class. Gets or sets the name of the referenced attributeGroup element. The name of the referenced attribute group. The value must be a QName. Represents the choice element (compositor) from the XML Schema as specified by the World Wide Web Consortium (W3C). The choice allows only one of its children to appear in an instance. Initializes a new instance of the class. Gets the collection of the elements contained with the compositor (choice): XmlSchemaElement, XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaSequence, or XmlSchemaAny. The collection of elements contained within XmlSchemaChoice. Contains a cache of XML Schema definition language (XSD) and XML-Data Reduced (XDR) schemas. This class cannot be inherited. Initializes a new instance of the XmlSchemaCollection class. Initializes a new instance of the XmlSchemaCollection class with the specified . The XmlNameTable is used when loading schemas. The XmlNameTable to use. Adds the schema located by the given URL into the schema collection. The added to the schema collection; null if the schema being added is an XDR schema or if there are compilation errors in the schema. The namespace URI associated with the schema. For XML Schemas, this will typically be the targetNamespace. The URL that specifies the schema to load. The schema is not a valid schema. Adds the schema contained in the to the schema collection. The added to the schema collection; null if the schema being added is an XDR schema or if there are compilation errors in the schema. The namespace URI associated with the schema. For XML Schemas, this will typically be the targetNamespace. containing the schema to add. The schema is not a valid schema. Adds the schema contained in the to the schema collection. The specified is used to resolve any external resources. The added to the schema collection; null if the schema being added is an XDR schema or if there are compilation errors in the schema. The namespace URI associated with the schema. For XML Schemas, this will typically be the targetNamespace. containing the schema to add. The used to resolve namespaces referenced in include and import elements or x-schema attribute (XDR schemas). If this is null, external references are not resolved. The schema is not a valid schema. Adds the to the collection. The XmlSchema object. The XmlSchema to add to the collection. Adds the to the collection. The specified is used to resolve any external references. The XmlSchema added to the schema collection. The XmlSchema to add to the collection. The used to resolve namespaces referenced in include and import elements. If this is null, external references are not resolved. The schema is not a valid schema. Adds all the namespaces defined in the given collection (including their associated schemas) to this collection. The XmlSchemaCollection you want to add to this collection. Gets a value indicating whether a schema with the specified namespace is in the collection. true if a schema with the specified namespace is in the collection; otherwise, false. The namespace URI associated with the schema. For XML Schemas, this will typically be the target namespace. Gets a value indicating whether the targetNamespace of the specified is in the collection. true if there is a schema in the collection with the same targetNamespace; otherwise, false. The XmlSchema object. Copies all the XmlSchema objects from this collection into the given array starting at the given index. The array to copy the objects to. The index in where copying will begin. Gets the number of namespaces defined in this collection. The number of namespaces defined in this collection. Provides support for the "for each" style iteration over the collection of schemas. An enumerator for iterating over all schemas in the current collection. Gets the associated with the given namespace URI. The XmlSchema associated with the namespace URI; null if there is no loaded schema associated with the given namespace or if the namespace is associated with an XDR schema. The namespace URI associated with the schema you want to return. This will typically be the targetNamespace of the schema. Gets the default XmlNameTable used by the XmlSchemaCollection when loading new schemas. An XmlNameTable. For a description of this member, see . The array to copy the objects to. The index in where copying will begin. For a description of this member, see . For a description of this member, see . For a description of this member, see . For a description of this member, see . Sets an event handler for receiving information about the XDR and XML schema validation errors. Supports a simple iteration over a collection. This class cannot be inherited. Gets the current in the collection. The current XmlSchema in the collection. Advances the enumerator to the next schema in the collection. true if the move was successful; false if the enumerator has passed the end of the collection. For a description of this member, see . For a description of this member, see . For a description of this member, see . Provides schema compilation options for the class This class cannot be inherited. Initializes a new instance of the class. Gets or sets a value indicating whether the should check for Unique Particle Attribution (UPA) violations. true if the should check for Unique Particle Attribution (UPA) violations; otherwise, false. The default is true. Represents the complexContent element from XML Schema as specified by the World Wide Web Consortium (W3C). This class represents the complex content model for complex types. It contains extensions or restrictions on a complex type that has either only elements or mixed content. Initializes a new instance of the class. Gets or sets the content. One of either the or classes. Gets or sets information that determines if the type has a mixed content model. If this property is true, character data is allowed to appear between the child elements of the complex type (mixed content model). The default is false.Optional. Represents the extension element from XML Schema as specified by the World Wide Web Consortium (W3C). This class is for complex types with complex content model derived by extension. It extends the complex type by adding attributes or elements. Initializes a new instance of the class. Gets or sets the component of the complex content model. The component of the complex content model. Gets the collection of attributes for the complex content. Contains and elements. The collection of attributes for the complex content. Gets or sets the name of the complex type from which this type is derived by extension. The name of the complex type from which this type is derived by extension. Gets or sets one of the , , , or classes. One of the , , , or classes. Represents the restriction element from XML Schema as specified by the World Wide Web Consortium (W3C). This class is for complex types with a complex content model derived by restriction. It restricts the contents of the complex type to a subset of the inherited complex type. Initializes a new instance of the class. Gets or sets the component of the complex content model. The component of the complex content model. Gets the collection of attributes for the complex type. Contains the and elements. The collection of attributes for the complex type. Gets or sets the name of a complex type from which this type is derived by restriction. The name of the complex type from which this type is derived by restriction. Gets or sets one of the , , , or classes. One of the , , , or classes. Represents the complexType element from XML Schema as specified by the World Wide Web Consortium (W3C). This class defines a complex type that determines the set of attributes and content of an element. Initializes a new instance of the class. Gets or sets the value for the component of the complex type. The component of the complex type. Gets the collection of attributes for the complex type. Contains and classes. Gets the collection of all the complied attributes of this complex type and its base types. The collection of all the attributes from this complex type and its base types. The post-compilation value of the AttributeUses property. Gets the post-compilation value for anyAttribute for this complex type and its base type(s). The post-compilation value of the anyAttribute element. Gets or sets the block attribute. The block attribute prevents a complex type from being used in the specified type of derivation. The default is XmlSchemaDerivationMethod.None.Optional. Gets the value after the type has been compiled to the post-schema-validation information set (infoset). This value indicates how the type is enforced when xsi:type is used in the instance document. The post-schema-validated infoset value. The default is BlockDefault value on the schema element. Gets or sets the post-compilation of this complex type. The content model type that is one of the or classes. Gets the content model of the complex type which holds the post-compilation value. The post-compilation value of the content model for the complex type. Gets the particle that holds the post-compilation value of the particle. The particle for the content type. The post-compilation value of the particle. Gets or sets the information that determines if the complexType element can be used in the instance document. If true, an element cannot use this complexType element directly and must use a complex type that is derived from this complexType element. The default is false.Optional. Gets or sets information that determines if the complex type has a mixed content model (markup within the content). true, if character data can appear between child elements of this complex type; otherwise, false. The default is false.Optional. Gets or sets the compositor type as one of the , , , or classes. The compositor type. An abstract class for schema content. Initializes a new instance of the class. Specifies the order and structure of the child elements of a type. Initializes a new instance of the class. Gets or sets the content of the type. Provides the content of the type. Provides information about the validation mode of any and anyAttribute element replacements. Document items are not validated. Document items must consist of well-formed XML and are not validated by the schema. If the associated schema is found, the document items will be validated. No errors will be thrown otherwise. The schema processor must find a schema associated with the indicated namespace to validate the document items. Enumerations for the content model of the complex type. This represents the content in the post-schema-validation information set (infoset). Text-only content. Empty content. Element-only content. Mixed content. The class is an abstract class for mapping XML Schema definition language (XSD) types to Common Language Runtime (CLR) types. Initializes a new instance of the class. Converts the value specified, whose type is one of the valid Common Language Runtime (CLR) representations of the XML schema type represented by the , to the CLR type specified. The converted input value. The input value to convert to the specified type. The target type to convert the input value to. The or parameter is null. The type represented by the does not support a conversion from type of the value specified to the type specified. Converts the value specified, whose type is one of the valid Common Language Runtime (CLR) representations of the XML schema type represented by the , to the CLR type specified using the if the represents the xs:QName type or a type derived from it. The converted input value. The input value to convert to the specified type. The target type to convert the input value to. An used for resolving namespace prefixes. This is only of use if the represents the xs:QName type or a type derived from it. The or parameter is null. The type represented by the does not support a conversion from type of the value specified to the type specified. The method always returns false. Always returns false. The . When overridden in a derived class, validates the string specified against a built-in or user-defined simple type. An that can be cast safely to the type returned by the property. The string to validate against the simple type. The to use for atomization while parsing the string if this object represents the xs:NCName type. The object to use while parsing the string if this object represents the xs:QName type. The input value is not a valid instance of this W3C XML Schema type. The value to parse cannot be null. When overridden in a derived class, gets the type for the string as specified in the World Wide Web Consortium (W3C) XML 1.0 specification. An value for the string. Gets the value for the simple type. The value for the simple type. When overridden in a derived class, gets the Common Language Runtime (CLR) type of the item. The Common Language Runtime (CLR) type of the item. Gets the value for the simple type. The value for the simple type. Specifies the W3C XML schema data type variety of the type. A W3C XML schema atomic type. A W3C XML schema list type. A W3C XML schema union type. Provides different methods for preventing derivation. Override default derivation method to allow any derivation. Refers to derivations by Substitution. Refers to derivations by Extension. Refers to derivations by Restriction. Refers to derivations by List. Refers to derivations by Union. #all. Refers to all derivation methods. Accepts the default derivation method. Represents the documentation element from XML Schema as specified by the World Wide Web Consortium (W3C). This class specifies information to be read or used by humans within an annotation. Initializes a new instance of the class. Gets or sets the xml:lang attribute. This serves as an indicator of the language used in the contents. The xml:lang attribute.Optional. Gets or sets an array of XmlNodes that represents the documentation child nodes. The array that represents the documentation child nodes. Gets or sets the Uniform Resource Identifier (URI) source of the information. A URI reference. The default is String.Empty.Optional. Represents the element element from XML Schema as specified by the World Wide Web Consortium (W3C). This class is the base class for all particle types and is used to describe an element in an XML document. Initializes a new instance of the class. Gets or sets a Block derivation. The attribute used to block a type derivation. Default value is XmlSchemaDerivationMethod.None.Optional. Gets the post-compilation value of the Block property. The post-compilation value of the Block property. The default is the BlockDefault value on the schema element. Gets the collection of constraints on the element. The collection of constraints. Gets or sets the default value of the element if its content is a simple type or content of the element is textOnly. The default value for the element. The default is a null reference.Optional. Gets an object representing the type of the element based on the or values of the element. An object. Gets a common language runtime (CLR) object based on the or of the element, which holds the post-compilation value of the ElementType property. The common language runtime object. The post-compilation value of the ElementType property. Gets or sets the Final property to indicate that no further derivations are allowed. The Final property. The default is XmlSchemaDerivationMethod.None.Optional. Gets the post-compilation value of the Final property. The post-compilation value of the Final property. Default value is the FinalDefault value on the schema element. Gets or sets the fixed value. The fixed value that is predetermined and unchangeable. The default is a null reference.Optional. Gets or sets the form for the element. The form for the element. The default is the value.Optional. Gets or sets information to indicate if the element can be used in an instance document. If true, the element cannot appear in the instance document. The default is false.Optional. Gets or sets information that indicates if xsi:nil can occur in the instance data. Indicates if an explicit nil value can be assigned to the element. If nillable is true, this enables an instance of the element to have the nil attribute set to true. The nil attribute is defined as part of the XML Schema namespace for instances. The default is false.Optional. Gets or sets the name of the element. The name of the element. The default is String.Empty. Gets the actual qualified name for the given element. The qualified name of the element. The post-compilation value of the QualifiedName property. Gets or sets the reference name of an element declared in this schema (or another schema indicated by the specified namespace). The reference name of the element. Gets or sets the type of the element. This can either be a complex type or a simple type. The type of the element. Gets or sets the name of a built-in data type defined in this schema or another schema indicated by the specified namespace. The name of the built-in data type. Gets or sets the name of an element that is being substituted by this element. The qualified name of an element that is being substituted by this element.Optional. Represents the enumeration facet from XML Schema as specified by the World Wide Web Consortium (W3C). This class specifies a list of valid values for a simpleType element. Declaration is contained within a restriction declaration. Initializes a new instance of the class. Returns detailed information about the schema exception. Initializes a new instance of the class. Constructs a new XmlSchemaException object with the given SerializationInfo and StreamingContext information that contains all the properties of the XmlSchemaException. SerializationInfo. StreamingContext. Initializes a new instance of the class with the exception message specified. A string description of the error condition. Initializes a new instance of the class with the exception message and original object that caused this exception specified. A string description of the error condition. The original T:System.Exception object that caused this exception. Initializes a new instance of the class with the exception message specified, and the original object, line number, and line position of the XML that cause this exception specified. A string description of the error condition. The original T:System.Exception object that caused this exception. The line number of the XML that caused this exception. The line position of the XML that caused this exception. Streams all the XmlSchemaException properties into the SerializationInfo class for the given StreamingContext. The SerializationInfo. The StreamingContext information. Gets the line number indicating where the error occurred. The line number indicating where the error occurred. Gets the line position indicating where the error occurred. The line position indicating where the error occurred. Gets the description of the error condition of this exception. The description of the error condition of this exception. The XmlSchemaObject that produced the XmlSchemaException. A valid object instance represents a structural validation error in the XML Schema Object Model (SOM). Gets the Uniform Resource Identifier (URI) location of the schema that caused the exception. The URI location of the schema that caused the exception. An abstract class. Provides information about the included schema. Initializes a new instance of the class. Gets or sets the string id. The string id. The default is String.Empty.Optional. Gets or sets the XmlSchema for the referenced schema. The XmlSchema for the referenced schema. Gets or sets the Uniform Resource Identifier (URI) location for the schema, which tells the schema processor where the schema physically resides. The URI location for the schema.Optional for imported schemas. Gets and sets the qualified attributes, which do not belong to the schema target namespace. Qualified attributes that belong to another target namespace. Abstract class for all facets that are used when simple types are derived by restriction. Initializes a new instance of the class. Gets or sets information that indicates that this facet is fixed. If true, value is fixed; otherwise, false. The default is false.Optional. Gets or sets the value attribute of the facet. The value attribute. Indicates if attributes or elements need to be qualified with a namespace prefix. Element and attribute form is not specified in the schema. Elements and attributes must be qualified with a namespace prefix. Elements and attributes are not required to be qualified with a namespace prefix. Specifies a restriction on the number of digits that can be entered for the fraction value of a simpleType element. The value of fractionDigits must be a positive integer. Represents the World Wide Web Consortium (W3C) fractionDigits facet. Initializes a new instance of the class. Represents the group element from XML Schema as specified by the World Wide Web Consortium (W3C). This class defines groups at the schema level that are referenced from the complex types. It groups a set of element declarations so that they can be incorporated as a group into complex type definitions. Initializes a new instance of the class. Gets or sets the name of the schema group. The name of the schema group. Gets or sets one of the , , or classes. One of the , , or classes. Gets the qualified name of the schema group. An object representing the qualified name of the schema group. An abstract class for , , or . Initializes a new instance of the class. This collection is used to add new elements to the compositor. An XmlSchemaObjectCollection. Represents the group element with ref attribute from the XML Schema as specified by the World Wide Web Consortium (W3C). This class is used within complex types that reference a group defined at the schema level. Initializes a new instance of the class. Gets one of the , , or classes, which holds the post-compilation value of the Particle property. The post-compilation value of the Particle property, which is one of the , , or classes. Gets or sets the name of a group defined in this schema (or another schema indicated by the specified namespace). The name of a group defined in this schema. Class for the identity constraints: key, keyref, and unique elements. Initializes a new instance of the class. Gets the collection of fields that apply as children for the XML Path Language (XPath) expression selector. The collection of fields. Gets or sets the name of the identity constraint. The name of the identity constraint. Gets the qualified name of the identity constraint, which holds the post-compilation value of the QualifiedName property. The post-compilation value of the QualifiedName property. Gets or sets the XPath expression selector element. The XPath expression selector element. Represents the import element from XML Schema as specified by the World Wide Web Consortium (W3C). This class is used to import schema components from other schemas. Initializes a new instance of the class. Gets or sets the annotation property. The annotation. Gets or sets the target namespace for the imported schema as a Uniform Resource Identifier (URI) reference. The target namespace for the imported schema as a URI reference.Optional. Represents the include element from XML Schema as specified by the World Wide Web Consortium (W3C). This class is used to include declarations and definitions from an external schema. The included declarations and definitions are then available for processing in the containing schema. Initializes a new instance of the class. Gets or sets the annotation property. The annotation. Infers an XML Schema Definition Language (XSD) schema from an XML document. The class cannot be inherited. Initializes a new instance of the class. Infers an XML Schema Definition Language (XSD) schema from the XML document contained in the object specified. An object containing the inferred schemas. An object containing the XML document to infer a schema from. The XML document is not well-formed. The object is not positioned on the root node or on an element. An error occurs during the schema inference process. Infers an XML Schema Definition Language (XSD) schema from the XML document contained in the object specified, and refines the inferred schema using an existing schema in the object specified with the same target namespace. An object containing the inferred schemas. An object containing the XML document to infer a schema from. An object containing an existing schema used to refine the inferred schema. The XML document is not well-formed. The object is not positioned on the root node or on an element. An error occurs during the schema inference process. Gets or sets the value that affects schema occurrence declarations inferred from the XML document. An object. Gets or sets the value that affects types inferred from the XML document. An object. Affects occurrence and type information inferred by the class for elements and attributes in an XML document. Indicates that a more restrictive schema declaration should be inferred for a particular element or attribute. Indicates that a less restrictive schema declaration should be inferred for a particular element or attribute. Returns information about errors encountered by the class while inferring a schema from an XML document. Initializes a new instance of the class. Initializes a new instance of the class with the and objects specified that contain all the properties of the . A object. A object. Initializes a new instance of the class with the error message specified. A description of the error. Initializes a new instance of the class with the error message specified and the original that caused the specified. A description of the error. An object containing the original exception that caused the . Initializes a new instance of the class with the error message specified, the original that caused the specified, and the line number and line position of the error in the XML document specified. A description of the error. An object containing the original exception that caused the . The line number in the XML document that caused the . The line position in the XML document that caused the . Streams all the object properties into the object specified for the object specified. A object. A object. Represents the post-schema-validation infoset of a validated XML node. Initializes a new instance of the class. Gets or sets the object that corresponds to the content type of this validated XML node. An object. Gets or sets a value indicating if this validated XML node was set as the result of a default being applied during XML Schema Definition Language (XSD) schema validation. A bool value. Gets or sets a value indicating if the value for this validated XML node is nil. A bool value. Gets or sets the dynamic schema type for this validated XML node. An object. Gets or sets the compiled object that corresponds to this validated XML node. An object. Gets or sets the compiled object that corresponds to this validated XML node. An object. Gets or sets the static XML Schema Definition Language (XSD) schema type of this validated XML node. An object. Gets or sets the value of this validated XML node. An value. This class represents the key element from XMLSchema as specified by the World Wide Web Consortium (W3C). Initializes a new instance of the class. This class represents the keyref element from XMLSchema as specified by the World Wide Web Consortium (W3C). Initializes a new instance of the class. Gets or sets the name of the key that this constraint refers to in another simple or complex type. The QName of the key that this constraint refers to. Represents the length facet from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to specify a restriction on the length of a simpleType element on the data type. Initializes a new instance of the class. Represents the maxExclusive element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to specify a restriction on the maximum value of a simpleType element. The element value must be less than the value of the maxExclusive element. Initializes a new instance of the class. Represents the maxInclusive element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to specify a restriction on the maximum value of a simpleType element. The element value must be less than or equal to the value of the maxInclusive element. Initializes a new instance of the class. Represents the maxLength element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to specify a restriction on the maximum length of the data value of a simpleType element. The length must be less than the value of the maxLength element. Initializes a new instance of the class. Represents the minExclusive element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to specify a restriction on the minimum value of a simpleType element. The element value must be greater than the value of the minExclusive element. Initializes a new instance of the class. Represents the minInclusive element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to specify a restriction on the minimum value of a simpleType element. The element value must be greater than or equal to the value of the minInclusive element. Initializes a new instance of the class. Represents the minLength element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to specify a restriction on the minimum length of the data value of a simpleType element. The length must be greater than the value of the minLength element. Initializes a new instance of the class. Represents the notation element from XML Schema as specified by the World Wide Web Consortium (W3C). An XML Schema notation declaration is a reconstruction of XML 1.0 NOTATION declarations. The purpose of notations is to describe the format of non-XML data within an XML document. Initializes a new instance of the class. Gets or sets the name of the notation. The name of the notation. Gets or sets the public identifier. The public identifier. The value must be a valid Uniform Resource Identifier (URI). Gets or sets the system identifier. The system identifier. The value must be a valid URI. Abstract class for defining numeric facets. This class is the base class for numeric facet classes such as Initializes a new instance of the class. Represents the root class for the Xml schema object model hierarchy and serves as a base class for classes such as the class. Initializes a new instance of the class. Gets or sets the line number in the file to which the schema element refers. The line number. Gets or sets the line position in the file to which the schema element refers. The line position. Gets or sets the to use with this schema object. The property for the schema object. Gets or sets the parent of this . The parent of this . Gets or sets the source location for the file that loaded the schema. The source location (URI) for the file. A collection of s. Initializes a new instance of the XmlSchemaObjectCollection class. Initializes a new instance of the XmlSchemaObjectCollection class that takes an . The . Adds an to the XmlSchemaObjectCollection. The index at which the item has been added. The . is less than zero.-or- is greater than Count. The parameter specified is not of type or its derived types , , and . Indicates if the specified is in the XmlSchemaObjectCollection. true if the specified qualified name is in the collection; otherwise, returns false. If null is supplied, false is returned because there is no qualified name with a null name. The . Copies all the s from the collection into the given array, starting at the given index. The one-dimensional array that is the destination of the elements copied from the XmlSchemaObjectCollection. The array must have zero-based indexing. The zero-based index in the array at which copying begins. is a null reference (Nothing in Visual Basic). is less than zero. is multi-dimensional.- or - is equal to or greater than the length of .- or - The number of elements in the source is greater than the available space from index to the end of the destination array. The type of the source cannot be cast automatically to the type of the destination array. Returns an enumerator for iterating through the XmlSchemaObjects contained in the XmlSchemaObjectCollection. The iterator returns . Gets the collection index corresponding to the specified . The index corresponding to the specified . The whose index you want to return. Inserts an to the XmlSchemaObjectCollection. The zero-based index at which an item should be inserted. The to insert. is less than zero.-or- is greater than Count. Gets the at the specified index. The at the specified index. The index of the . OnClear is invoked before the standard Clear behavior. For more information, see OnClear method for . OnInsert is invoked before the standard Insert behavior. For more information, see OnInsert method . The index of . The item. OnRemove is invoked before the standard Remove behavior. For more information, see the OnRemove method for . The index of . The item. OnSet is invoked before the standard Set behavior. For more information, see the OnSet method for . The index of . The old value. The new value. Removes an from the XmlSchemaObjectCollection. The to remove. Represents the enumerator for the . Gets the current in the collection. The current . Moves to the next item in the collection. false at the end of the collection. Resets the enumerator to the start of the collection. For a description of this member, see . For a description of this member, see . For a description of this member, see . Provides the collections for contained elements in the class (for example, Attributes, AttributeGroups, Elements, and so on). Determines if the qualified name specified exists in the collection. true if the qualified name specified exists in the collection; otherwise, false. The . Gets the number of items contained in the . The number of items contained in the . Returns an enumerator that can iterate through the . An that can iterate through . Returns the element in the specified by qualified name. The of the element in the specified by qualified name. The of the element to return. Returns a collection of all the named elements in the . A collection of all the named elements in the . Returns a collection of all the values for all the elements in the . A collection of all the values for all the elements in the . Abstract class for that is the base class for all particle types (e.g. ). Initializes a new instance of the class. Gets or sets the maximum number of times the particle can occur. The maximum number of times the particle can occur. The default is 1. Gets or sets the number as a string value. Maximum number of times the particle can occur. The number as a string value. String.Empty indicates that MaxOccurs is equal to the default value. The default is a null reference. Gets or sets the minimum number of times the particle can occur. The minimum number of times the particle can occur. The default is 1. Gets or sets the number as a string value. The minimum number of times the particle can occur. The number as a string value. String.Empty indicates that MinOccurs is equal to the default value. The default is a null reference. Represents the pattern element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to specify a restriction on the value entered for a simpleType element. Initializes a new instance of the class. Represents the redefine element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to allow simple and complex types, groups and attribute groups from external schema files to be redefined in the current schema. This class can also be used to provide versioning for the schema elements. Initializes a new instance of the class. Gets the , for all attributes in the schema, which holds the post-compilation value of the AttributeGroups property. The for all attributes in the schema. The post-compilation value of the AttributeGroups property. Gets the , for all groups in the schema, which holds the post-compilation value of the Groups property. The for all groups in the schema. The post-compilation value of the Groups property. Gets the collection of the following classes: , , , , and . The elements contained within the redefine element. Gets the , for all simple and complex types in the schema, which holds the post-compilation value of the SchemaTypes property. The for all schema types in the schema. The post-compilation value of the SchemaTypes property. Represents the sequence element (compositor) from the XML Schema as specified by the World Wide Web Consortium (W3C). The sequence requires the elements in the group to appear in the specified sequence within the containing element. Initializes a new instance of the class. The elements contained within the compositor. Collection of , , , , or . The elements contained within the compositor. Contains a cache of XML Schema definition language (XSD) schemas. Initializes a new instance of the class. Initializes a new instance of the class with the specified . The object to use. The object passed as a parameter is null. Adds the XML Schema definition language (XSD) schema at the URL specified to the . An object if the schema is valid. If the schema is not valid and a is specified, then null is returned and the appropriate validation event is raised. Otherwise, an is thrown. The schema targetNamespace property, or null to use the targetNamespace specified in the schema. The URL that specifies the schema to load. The schema is not valid. The URL passed as a parameter is null or . Adds the XML Schema definition language (XSD) schema contained in the to the . An object if the schema is valid. If the schema is not valid and a is specified, then null is returned and the appropriate validation event is raised. Otherwise, an is thrown. The schema targetNamespace property, or null to use the targetNamespace specified in the schema. The object. The schema is not valid. The object passed as a parameter is null. Adds the given to the . An object if the schema is valid. If the schema is not valid and a is specified, then null is returned and the appropriate validation event is raised. Otherwise an is thrown. The object to add to the . The schema is not valid. The object passed as a parameter is null. Adds all the XML Schema definition language (XSD) schemas in the given to the . The object. A schema in the is not valid. The object passed as a parameter is null. Gets or sets the for the . The for the . The default is an instance with the property set to true. Compiles the XML Schema definition language (XSD) schemas added to the into one logical schema. An error occurred when validating and compiling the schemas in the . Indicates whether an XML Schema definition language (XSD) schema with the specified target namespace URI is in the . Returns true if a schema with the specified target namespace URI is in the ; otherwise, false. The schema targetNamespace property. Indicates whether the specified XML Schema definition language (XSD) object is in the . Returns true if the object is in the ; otherwise, false. The object. The passed as a parameter is null. Copies all the objects from the to the given array, starting at the given index. The array to copy the objects to. The index in the array where copying will begin. Gets the number of logical XML Schema definition language (XSD) schemas in the . The number of logical schemas in the . Gets all the global attributes in all the XML Schema definition language (XSD) schemas in the . An . Gets all the global elements in all the XML Schema definition language (XSD) schemas in the . An . Gets all of the global simple and complex types in all the XML Schema definition language (XSD) schemas in the . An . Indicates if the XML Schema definition language (XSD) schemas in the have been compiled. Returns true if the schemas in the have been compiled since the last time a schema was added or removed from the ; otherwise, false. Gets the default used by the when loading new XML Schema definition language (XSD) schemas. An . Removes the specified XML Schema definition language (XSD) schema from the . The object removed from the or null if the schema was not found in the . The object to remove from the . The schema is not a valid schema. The passed as a parameter is null. Removes the specified XML Schema definition language (XSD) schema and all the schemas it imports from the . Returns true if the object and all its imports were successfully removed; otherwise, false. The object to remove from the . The passed as a parameter is null. Reprocesses an XML Schema definition language (XSD) schema that already exists in the . An object if the schema is a valid schema. If the schema is not valid and a is specified, null is returned and the appropriate validation event is raised. Otherwise, an is thrown. The schema to reprocess. The schema is not valid. The object passed as a parameter is null. The object passed as a parameter does not already exist in the . Returns a collection of all the XML Schema definition language (XSD) schemas in the . An object containing all the schemas that have been added to the . If no schemas have been added to the , an empty object is returned. Returns a collection of all the XML Schema definition language (XSD) schemas in the that belong to the given namespace. An object containing all the schemas that have been added to the that belong to the given namespace. If no schemas have been added to the , an empty object is returned. The schema targetNamespace property. Sets an event handler for receiving information about XML Schema definition language (XSD) schema validation errors. Sets the used to resolve namespaces or locations referenced in include and import elements of a schema. The used to resolve namespaces or locations referenced in include and import elements of a schema. Represents the simpleContent element from XML Schema as specified by the World Wide Web Consortium (W3C). This class is for simple and complex types with simple content model. Initializes a new instance of the class. Gets one of the or . The content contained within the XmlSchemaSimpleContentRestriction or XmlSchemaSimpleContentExtension class. Represents the extension element for simple content from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to derive simple types by extension. Such derivations are used to extend the simple type content of the element by adding attributes. Initializes a new instance of the class. Gets or sets the XmlSchemaAnyAttribute to be used for the attribute value. The XmlSchemaAnyAttribute.Optional. Gets the collection of and . The collection of attributes for the simpleType element. Gets or sets the name of a built-in data type or simple type from which this type is extended. The base type name. Represents the restriction element for simple content from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to derive simple types by restriction. Such derivations can be used to restrict the range of values for the element to a subset of the values specified in the inherited simple type. Initializes a new instance of the class. Gets or sets an to be used for the attribute value. The for the attribute value.Optional. Gets the and collection of attributes for the simple type. The collection of attributes for a simple type. Gets or sets the simple type base value. The simple type base value. Gets or sets the name of the built-in data type or simple type from which this type is derived. The name of the base type. Gets or sets an Xml Schema facet. One of the following facet classes:, , , , , , , , , , , . Represents the simpleType element for simple content from XML Schema as specified by the World Wide Web Consortium (W3C). This class defines a simple type. Simple types can specify information and constraints for the value of attributes or elements with text-only content. Initializes a new instance of the class. Gets or sets one of , , or . One of XmlSchemaSimpleTypeUnion, XmlSchemaSimpleTypeList, or XmlSchemaSimpleTypeRestriction. Abstract class for simple type content classes. Initializes a new instance of the class. Represents the list element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to define a simpleType element as a list of values of a specified data type. Initializes a new instance of the class. Gets or sets the representing the type of the simpleType element based on the and values of the simple type. The representing the type of the simpleType element. Gets or sets the simpleType element that is derived from the type specified by the base value. The item type for the simple type element. Gets or sets the name of a built-in data type or simpleType element defined in this schema (or another schema indicated by the specified namespace). The type name of the simple type list. Represents the restriction element for simple types from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used restricting simpleType element. Initializes a new instance of the class. Gets or sets information on the base type. The base type for the simpleType element. Gets or sets the name of the qualified base type. The qualified name of the simple type restriction base type. Gets or sets an Xml Schema facet. One of the following facet classes:, , , , , , , , , , , . Represents the union element for simple types from XML Schema as specified by the World Wide Web Consortium (W3C). A union datatype can be used to specify the content of a simpleType. The value of the simpleType element must be any one of a set of alternative datatypes specified in the union. Union types are always derived types and must comprise at least two alternative datatypes. Initializes a new instance of the class. Gets an array of objects representing the type of the simpleType element based on the and values of the simple type. An array of objects representing the type of the simpleType element. Gets the collection of base types. The collection of simple type base values. Gets or sets the array of qualified member names of built-in data types or simpleType elements defined in this schema (or another schema indicated by the specified namespace). An array that consists of a list of members of built-in data types or simple types. Represents the totalDigits facet from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to specify a restriction on the number of digits that can be entered for the value of a simpleType element. That value of totalDigits must be a positive integer. Initializes a new instance of the class. The base class for all simple types and complex types. Initializes a new instance of the class. Gets the post-compilation object type or the built-in XML Schema Definition Language (XSD) data type, simpleType element, or complexType element. This is a post-schema-compilation infoset property. The built-in XSD data type, simpleType element, or complexType element. Gets the post-compilation value for the base type of this schema type. An object representing the base type of this schema type. Gets the post-compilation value for the data type of the complex type. The post-schema-compilation value. Gets the post-compilation information on how this element was derived from its base type. One of the valid values. Gets or sets the final attribute of the type derivation that indicates if further derivations are allowed. One of the valid values. The default is . Gets the post-compilation value of the property. The post-compilation value of the property. The default is the finalDefault attribute value of the schema element. Returns an that represents the built-in complex type of the complex type specified. The that represents the built-in complex type. One of the values representing the complex type. Returns an that represents the built-in complex type of the complex type specified by qualified name. The that represents the built-in complex type. The of the complex type. The parameter is null. Returns an that represents the built-in simple type of the simple type specified. The that represents the built-in simple type. One of the values representing the simple type. Returns an that represents the built-in simple type of the simple type specified by qualified name. The that represents the built-in simple type. The of the simple type. The parameter is null. Returns a value indicating if the derived schema type specified is derived from the base schema type specified true if the derived type is derived from the base type; otherwise, false. The derived to test. The base to test the derived against. One of the values representing a type derivation method to exclude from testing. Gets or sets a value indicating if this type has a mixed content model. This property is only valid in a complex type. true if the type has a mixed content model; otherwise, false. The default is false. Gets or sets the name of the type. The name of the type. Gets the qualified name for the type built from the Name attribute of this type. This is a post-schema-compilation property. The for the type built from the Name attribute of this type. Gets the of the type. One of the values. Represents the unique element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to identify a unique constraint among a set of elements. Initializes a new instance of the class. Indicator of how the attribute is used. Attribute use not specified. Attribute is optional. Attribute cannot be used. Attribute must appear once. Represents the exception thrown when XML Schema Definition Language (XSD) schema validation errors and warnings are encountered in an XML document being validated. Initializes a new instance of the class. Initializes a new instance of the class with the and objects specified. A object. A object. Initializes a new instance of the class with the exception message specified. A string description of the error condition. Initializes a new instance of the class with the exception message and original object that caused this exception specified. A string description of the error condition. The original object that caused this exception. Initializes a new instance of the class with the exception message specified, and the original object, line number, and line position of the XML that cause this exception specified. A string description of the error condition. The original object that caused this exception. The line number of the XML that caused this exception. The line position of the XML that caused this exception. Constructs a new object with the given and information that contains all the properties of the . Sets the XML node that causes the error. The source object. Gets the XML node that caused this . The XML node that caused this . Specifies schema validation options used by the and classes. Do not process identity constraints, inline schemas, schema location hints, or report schema validation warnings. Process inline schemas encountered during validation. Process schema location hints (xsi:schemaLocation, xsi:noNamespaceSchemaLocation) encountered during validation. Report schema validation warnings encountered during validation. Process identity constraints (xs:ID, xs:IDREF, xs:key, xs:keyref, xs:unique) encountered during validation. Allow xml:* attributes even if they are not defined in the schema. The attributes will be validated based on their data type. Represents an XML Schema Definition Language (XSD) Schema validation engine. The class cannot be inherited. Initializes a new instance of the class. An object containing element and attribute names as atomized strings. An object containing the XML Schema Definition Language (XSD) schemas used for validation. An object used for resolving namespaces encountered during validation. An value specifying schema validation options. One or more of the parameters specified are null. An error occurred while compiling schemas in the parameter. Adds an XML Schema Definition Language (XSD) schema to the set of schemas used for validation. An object to add to the set of schemas used for validation. The parameter specified is null. The target namespace of the parameter matches that of any element or attribute already encountered by the object. The parameter is invalid. Ends validation and checks identity constraints for the entire XML document. An identity constraint error was found in the XML document. Returns the expected attributes for the current element context. An array of objects or an empty array if there are no expected attributes. Returns the expected particles in the current element context. An array of objects or an empty array if there are no expected particles. Validates identity constraints on the default attributes and populates the specified with objects for any attributes with default values that have not already been validated using the method in the element context. An to populate with objects for any attributes not yet validated in the element context. Initializes the state of the object. Calling the method is valid immediately after the construction of an object or after a call to only. Initializes the state of the object using the specified for partial validation. An , , or object used to initialize the validation context of the object for partial validation. Calling the method is valid immediately after the construction of an object or after a call to only. The parameter is not an , , or object. The parameter cannot be null. Gets or sets the line number information for the XML node being validated. An object. Skips validation of the current element content and prepares the object to validate content in the parent element's context. An object whose properties are set if the current element content is successfully skipped. This parameter can be null. The method was not called in the correct sequence. For example, calling after calling . Gets or sets the source URI for the XML node being validated. A object representing the source URI for the XML node being validated; the default is null. Validates the attribute name, namespace URI, and value in the current element context. The validated attribute's value. The local name of the attribute to validate. The namespace URI of the attribute to validate. The value of the attribute to validate. An object whose properties are set on successful validation of the attribute. This parameter can be null. The attribute is not valid in the current element context. The method was not called in the correct sequence. For example, calling after calling . One or more of the parameters specified are null. Validates the attribute name, namespace URI, and value in the current element context. The validated attribute's value. The local name of the attribute to validate. The namespace URI of the attribute to validate. An delegate used to pass the attribute's value as a Common Language Runtime (CLR) type compatible with the XML Schema Definition Language (XSD) type of the attribute. An object whose properties are set on successful validation of the attribute. This parameter and can be null. The attribute is not valid in the current element context. The method was not called in the correct sequence. For example, calling after calling . One or more of the parameters specified are null. Validates the element in the current context. The local name of the element to validate. The namespace URI of the element to validate. An object whose properties are set on successful validation of the element's name. This parameter can be null. The element's name is not valid in the current context. The method was not called in the correct sequence. For example, the method is called after calling . Validates the element in the current context with the xsi:Type, xsi:Nil, xsi:SchemaLocation, and xsi:NoNamespaceSchemaLocation attribute values specified. The local name of the element to validate. The namespace URI of the element to validate. An object whose properties are set on successful validation of the element's name. This parameter can be null. The xsi:Type attribute value of the element. This parameter can be null. The xsi:Nil attribute value of the element. This parameter can be null. The xsi:SchemaLocation attribute value of the element. This parameter can be null. The xsi:NoNamespaceSchemaLocation attribute value of the element. This parameter can be null. The element's name is not valid in the current context. The method was not called in the correct sequence. For example, the method is called after calling . Verifies if the text content of the element is valid according to its data type for elements with simple content, and verifies if the content of the current element is complete according to its data type for elements with complex content. The parsed, typed text value of the element if the element has simple content. An object whose properties are set on successful validation of the element. This parameter can be null. The element's content is not valid. The method was not called in the correct sequence. For example, if the method is called after calling . Verifies if the text content of the element specified is valid according to its data type. The parsed, typed simple content of the element. An object whose properties are set on successful validation of the text content of the element. This parameter can be null. The typed text content of the element. The element's text content is not valid. The method was not called in the correct sequence (for example, if the method is called after calling ), calls to the method have been previously made, or the element has complex content. The typed text content parameter cannot be null. Verifies whether all the required attributes in the element context are present and prepares the object to validate the child content of the element. An object whose properties are set on successful verification that all the required attributes in the element context are present. This parameter can be null. One or more of the required attributes in the current element context were not found. The method was not called in the correct sequence. For example, calling after calling . One or more of the parameters specified are null. Validates whether the text string specified is allowed in the current element context, and accumulates the text for validation if the current element has simple content. A text string to validate in the current element context. The text string specified is not allowed in the current element context. The method was not called in the correct sequence. For example, the method is called after calling . The text string parameter cannot be null. Validates whether the text returned by the object specified is allowed in the current element context, and accumulates the text for validation if the current element has simple content. An delegate used to pass the text value as a Common Language Runtime (CLR) type compatible with the XML Schema Definition Language (XSD) type of the attribute. The text string specified is not allowed in the current element context. The method was not called in the correct sequence. For example, the method is called after calling . The text string parameter cannot be null. Validates whether the white space in the string specified is allowed in the current element context, and accumulates the white space for validation if the current element has simple content. A white space string to validate in the current element context. White space is not allowed in the current element context. The method was not called in the correct sequence. For example, if the method is called after calling . Validates whether the white space returned by the object specified is allowed in the current element context, and accumulates the white space for validation if the current element has simple content. An delegate used to pass the white space value as a Common Language Runtime (CLR) type compatible with the XML Schema Definition Language (XSD) type of the attribute. White space is not allowed in the current element context. The method was not called in the correct sequence. For example, if the method is called after calling . The that receives schema validation warnings and errors encountered during schema validation. Gets or sets the object sent as the sender object of a validation event. An ; the default is this object. Sets the object used to resolve xs:import and xs:include elements as well as xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes. An object; the default is an object. Represents the validity of an XML item validated by the class. The validity of the XML item is not known. The XML item is valid. The XML item is invalid. Represents the World Wide Web Consortium (W3C) whiteSpace facet. Initializes a new instance of the class. Represents the World Wide Web Consortium (W3C) selector element. Initializes a new instance of the class. Gets or sets the attribute for the XPath expression. The string attribute value for the XPath expression. Represents the severity of the validation event. Indicates a validation error occurred when validating the instance document. This applies to document type definitions (DTDs) and XML Schema definition language (XSD) schemas. The World Wide Web Consortium (W3C) validity constraints are considered errors. If no validation event handler has been created, errors throw an exception. Indicates that a validation event occurred that is not an error. A warning is typically issued when there is no DTD, or XML Schema to validate a particular element or attribute against. Unlike errors, warnings do not throw an exception if there is no validation event handler. Represents the W3C XML Schema Definition Language (XSD) schema types. No type information. An item such as a node or atomic value. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code. Any atomic value of a union. An untyped atomic value. A W3C XML Schema xs:string type. A W3C XML Schema xs:boolean type. A W3C XML Schema xs:decimal type. A W3C XML Schema xs:float type. A W3C XML Schema xs:double type. A W3C XML Schema xs:Duration type. A W3C XML Schema xs:dateTime type. A W3C XML Schema xs:time type. A W3C XML Schema xs:date type. A W3C XML Schema xs:gYearMonth type. A W3C XML Schema xs:gYear type. A W3C XML Schema xs:gMonthDay type. A W3C XML Schema xs:gDay type. A W3C XML Schema xs:gMonth type. A W3C XML Schema xs:hexBinary type. A W3C XML Schema xs:base64Binary type. A W3C XML Schema xs:anyURI type. A W3C XML Schema xs:QName type. A W3C XML Schema xs:NOTATION type. A W3C XML Schema xs:normalizedString type. A W3C XML Schema xs:token type. A W3C XML Schema xs:language type. A W3C XML Schema xs:NMTOKEN type. A W3C XML Schema xs:Name type. A W3C XML Schema xs:NCName type. A W3C XML Schema xs:ID type. A W3C XML Schema xs:IDREF type. A W3C XML Schema xs:ENTITY type. A W3C XML Schema xs:integer type. A W3C XML Schema xs:nonPositiveInteger type. A W3C XML Schema xs:negativeInteger type. A W3C XML Schema xs:long type. A W3C XML Schema xs:int type. A W3C XML Schema xs:short type. A W3C XML Schema xs:byte type. A W3C XML Schema xs:nonNegativeInteger type. A W3C XML Schema xs:unsignedLong type. A W3C XML Schema xs:unsignedInt type. A W3C XML Schema xs:unsignedShort type. A W3C XML Schema xs:unsignedByte type. A W3C XML Schema xs:positiveInteger type. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code. A delegate used by the class to pass attribute, text, and white space values as a Common Language Runtime (CLR) type compatible with the XML Schema Definition Language (XSD) type of the attribute, text, or white space. An object containing the attribute, text, or white space value. The object is a CLR type that that corresponds to the XSD type of the attribute, text, or white space value. Represents a class that can generate proxy code from an XML representation of a data structure. Gets a collection of code attribute metadata that is included when the code is exported. A collection of objects that represent metadata that is included when the code is exported. Specifies various options to use when generating .NET Framework types for use with an XML Web Service. Represents primitive types by fields and primitive types by namespace types. Represents primitive types by properties. Creates events for the asynchronous invocation of Web methods. Creates Begin and End methods for the asynchronous invocation of Web methods. Generates explicitly ordered serialization code as specified through the Order property of the , , and attributes. Enables data binding. Provides static methods to convert input text into names for code entities. Initializes a new instance of the class. Produces a camel-case string from an input string. A camel-case version of the parameter string. The name of a code entity, such as a method parameter, typically taken from an XML element or attribute name. Produces a Pascal-case string from an input string. A Pascal-case version of the parameter string. The name of a code entity, such as a method parameter, typically taken from an XML element or attribute name. Produces a valid code entity name from an input string. A string that can be used as a code identifier, such as the name of a method parameter. The name of a code entity, such as a method parameter, typically taken from an XML element or attribute name. Maintains a group of names for related code entities or type mappings that are generated by the .NET Framework's XML serialization infrastructure. Initializes a new instance of the class. Initializes a new instance of the class and determines whether code identifiers are case sensitive. true if identifiers are case sensitive; otherwise, false. Adds a named code entity or type mapping to the instance's scope. A name that is used to index the code entity. The code entity or type mapping information. Prevents a specified name from being used within the instance's scope. A name that will not be available within the instance's scope. Adds a named code entity or type mapping to the instance's scope, ensuring that the name is unique within the scope. The identifier parameter value or a modified string if there is a name collision. A candidate name that is used to index the code entity. The code entity or type mapping information. Removes all code entities or type mappings, including their names, from the instance's scope. Determines whether a specified name is already being used within the instance's scope. true if the name is already in use; otherwise, false. The name to check for use within the instance's scope. Ensures that the input is of the correct case by modifying the name according to the value of the property. A string that is the same as the input identifier or has the first letter's case modified. The name to possibly modify. Determines whether the input name conflicts with another name within the instance's scope and, if it does, generates a modified string. The identifier parameter value or a modified string if there is a name collision. The name to modify if it is not already unique. Removes from the instance's scope the code entity or type mapping identified by the input name. The name of the code entity or type mapping information to remove. Removes the input name from the instance's reserved names. A name that will be made available within the instance's scope. Returns an array of the code entities or type mappings within the instance's scope. An array of the code entities or type mappings that is stored by the object. The type of all the code entities or type mappings for the instance. Gets or sets a value that indicates whether the instance uses camel case. true to indicate that the instance uses camel case; false to indicate that the instance uses Pascal case. Describes the context in which a set of schema is bound to .NET Framework code entities. Initializes a new instance of the class for the given code identifiers, with the given type-sharing option. The code entities to which the context applies. A value that determines whether custom types are shared among schema. Gets a value that determines whether custom types are shared. true, if custom types are shared among schema; otherwise, false. Gets a set of code entities to which the context applies. A that specifies the code entities to which the context applies. Gets a collection of warnings that are generated when importing the code entity descriptions. A that contains warnings that were generated when importing the code entity descriptions. Provides custom formatting for XML serialization and deserialization. This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the to the class. An that describes the XML representation of the object that is produced by the method and consumed by the method. Generates an object from its XML representation. The stream from which the object is deserialized. Converts an object into its XML representation. The stream to which the object is serialized. Establishes a property for use by the .NET Framework infrastructure. Gets or sets whether white space and attribute values are normalized. true if white space attributes values are normalized; otherwise, false. Gets or sets how white space is handled when parsing XML. A member of the enumeration that describes how whites pace is handled when parsing XML. Describes a schema importer. Gets a collection of schema importer extensions. A containing a collection of schema importer extensions. Specifies that the must serialize the class member as an encoded SOAP attribute. Initializes a new instance of the class. Initializes a new instance of the class using the specified value as the name of the XML attribute. The name of the XML attribute. Gets or sets the name of the XML attribute generated by the . The name of the XML attribute. The default is the member identifier. Gets or sets the XML Schema definition language (XSD) data type of the SOAP attribute generated by the . An XML Schema data type, as defined by the World Wide Web Consortium (www.w3.org) document named "XML Schema Part 2: Datatypes". The XML Schema data type you have specified cannot be mapped to the .NET data type. Gets or sets the XML namespace of the XML attribute. The XML namespace of the XML attribute. Allows you to override attributes applied to properties, fields, and classes when you use an to serialize or deserialize an object as encoded SOAP. Initializes a new instance of the class. Adds a to the collection of objects contained by the . The parameter specifies the object to be overridden by the . The parameter specifies the name of a member that is overridden. The of the object to override. The name of the member to override. A that represents the overriding attributes. Adds a to a collection of objects. The parameter specifies an object to be overridden by the . The of the object that is overridden. A that represents the overriding attributes. Gets the object associated with the specified (base class) type. A that represents the collection of overriding attributes. The base class that is associated with the collection of attributes you want to retrieve. Gets the object associated with the specified (base class) type. The parameter specifies the base class member that is overridden. A that represents the collection of overriding attributes. The base class that is associated with the collection of attributes you want to override. The name of the overridden member that specifies the to return. Represents a collection of attribute objects that control how the serializes and deserializes SOAP methods. Initializes a new instance of the class. Initializes a new instance of the class using the specified custom type. Any object that implements the interface, such as the class. Gets or sets the to override. A that overrides the behavior of the when the member is serialized. Gets or sets the default value of an XML element or attribute. An object that represents the default value of an XML element or attribute. Gets or sets a to override. The to override. Gets or sets an object that specifies how the serializes a SOAP enumeration. A . Gets or sets a value that specifies whether the serializes a public field or property as encoded SOAP XML. true if the must not serialize the field or property; otherwise, false. Gets or sets an object that instructs the how to serialize an object type into encoded SOAP XML. A that either overrides a applied to a class declaration, or is applied to a class declaration. Generates types and attribute declarations from internal type mapping information for SOAP-encoded message parts defined in a WSDL document. Initializes a new instance of the class, assuming no code compile unit. A that specifies the namespace of the types to generate. Initializes a new instance of the class, specifying a code compile unit parameter in addition to a namespace parameter. A that specifies the namespace of the types to generate. A that identifies the program graph container to which used assembly references are automatically added. Initializes a new instance of the class, specifying a code namespace, a code compile unit, a code generator, code generation options, and mappings. A that specifies the namespace of the types to generate. A that identifies the program graph container to which used assembly references are automatically added. A that is used to create the code. A enumeration that specifies the options with which exported code is generated. A that contains objects. Initializes a new instance of the class, specifying a code namespace, a code compile unit, and code generation options. A that specifies the namespace of the types to generate. A that identifies the program graph container to which used assembly references are automatically added. A enumeration that specifies the options with which exported code is generated. Initializes a new instance of the class, specifying a code namespace, a code compile unit, code generation options, and mappings. A that specifies the namespace of the types to generate. A that identifies the program graph container to which used assembly references are automatically added. A enumeration that specifies the options with which exported code is generated. A that contains objects. Add a declaration to a method parameter or return value corresponding to a part element of a SOAP message definition in a WSDL document. The collection of objects for the generated type, to which the method adds an attribute declaration. An internal .NET Framework type mapping for a single part of a WSDL message definition. Adds a declaration to a method parameter or return value that corresponds to a part element of a SOAP message definition in a WSDL document. The collection of objects for the generated type to which the method adds an attribute declaration. An internal .NET Framework type mapping for a single part of a WSDL message definition. true to add an initial argument that contains the XML element name for the attribute declaration that is being generated; otherwise, false. Generates a .NET Framework type, plus attribute declarations, for each of the parts that belong to a SOAP message definition in a WSDL document. Internal .NET Framework type mappings for the element parts of a WSDL message definition. Generates a .NET Framework type, plus attribute declarations, for a SOAP header. Internal .NET Framework type mapping information for a SOAP header element. Specifies that the public member value be serialized by the as an encoded SOAP XML element. Initializes a new instance of the class. Initializes a new instance of the class and specifies the name of the XML element. The XML element name of the serialized member. Gets or sets the XML Schema definition language (XSD) data type of the generated XML element. One of the XML Schema data types. Gets or sets the name of the generated XML element. The name of the generated XML element. The default is the member identifier. Gets or sets a value that indicates whether the must serialize a member that has the xsi:null attribute set to "1". true if the generates the xsi:null attribute; otherwise, false. Controls how the serializes an enumeration member. Initializes a new instance of the class. Initializes a new instance of the class using the specified element name. The XML element name generated by the . Gets or sets the value generated in an XML document when the serializes an enumeration, or the value recognized when it deserializes the enumeration member. The value generated in an XML document when the serializes the enumeration, or the value recognized when it deserializes the enumeration member. Instructs the not to serialize the public field or public read/write property value. Initializes a new instance of the class. Allows the to recognize a type when it serializes or deserializes an object as encoded SOAP XML. Initializes a new instance of the class using the specified type. The type of the object to include. Gets or sets the type of the object to use when serializing or deserializing an object. The type of the object to include. Generates mappings to SOAP-encoded messages from .NET Framework types or Web service method information. Initializes a new instance of the class. Initializes a new instance of the class, specifying a default XML namespace for imported type mappings. The default XML namespace to use for imported type mappings. Initializes a new instance of the class, specifying overrides for XML serialization. A object that overrides how the class serializes mapped types using SOAP encoding. Initializes a new instance of the class, specifying XML serialization overrides and a default XML namespace. A object that overrides how the class serializes mapped types using SOAP encoding. The default XML namespace to use for imported type mappings. Generates internal type mappings for information that is gathered from a Web service method. Internal .NET Framework type mappings to the element parts of a WSDL message definition. An XML element name produced from the Web service method. An XML element namespace produced from the Web service method. An array of .NET Framework code entities that belong to a Web service method. Generates internal type mappings for information that is gathered from a Web service method. Internal .NET Framework type mappings to the element parts of a WSDL message definition. An XML element name produced from the Web service method. An XML element namespace produced from the Web service method. An array of .NET Framework code entities that belong to a Web service method. true to indicate that elements that correspond to WSDL message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false. true to indicate an RPC-style Web service binding; false to indicate a document-style Web service binding or a SOAP header. Generates internal type mappings for information that is gathered from a Web service method. Internal .NET Framework type mappings to the element parts of a WSDL message definition. An XML element name produced from the Web service method. An XML element namespace produced from the Web service method. An array of .NET Framework code entities that belong to a Web service method. true to indicate that elements that correspond to WSDL message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false. true to indicate an RPC-style Web service binding; false to indicate a document-style Web service binding or a SOAP header. true to indicate that a generated deserializer should check for the expected qualified name of the wrapper element; otherwise, false. This parameter's value is relevant only if the parameter's value is true. Generates internal type mappings for information that is gathered from a Web service method. Internal .NET Framework type mappings to the element parts of a WSDL message definition. An XML element name produced from the Web service method. An XML element namespace produced from the Web service method. An array of .NET Framework code entities that belong to a Web service method. true to indicate that elements that correspond to WSDL message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false. true to indicate an RPC-style Web service binding; false to indicate a document-style Web service binding or a SOAP header. true to indicate that a generated deserializer should check for the expected qualified name of the wrapper element; otherwise, false. This parameter's value is relevant only if the parameter's value is true. One of the values. Generates a mapping to an XML Schema element for a .NET Framework type. Internal .NET Framework mapping of a type to an XML Schema element. The .NET Framework type for which to generate a type mapping. Generates a mapping to an XML Schema element for a .NET Framework type. Internal .NET Framework mapping of a type to an XML Schema element. The .NET Framework type for which to generate a type mapping. The default XML namespace to use. Places mappings for a type in the instance's context for later use when import methods are invoked. The .NET Framework type for which to save type mapping information. Places mappings for derived types in the instance's context for later use when import methods are invoked. An reflection object that contains custom attributes that are derived from the attribute. Populates objects with XML Schema data type definitions for .NET Framework types that are serialized using SOAP encoding. Initializes a new instance of the class, which supplies the collection of objects to which XML Schema element declarations are to be added. A collection of objects to which element declarations obtained from type mappings are to be added. Adds to the applicable object a data type definition for each of the element parts of a SOAP-encoded message definition. Internal .NET Framework type mappings for the element parts of a WSDL message definition. Adds to the applicable object a data type definition for each of the element parts of a SOAP-encoded message definition. Internal .NET Framework type mappings for the element parts of a WSDL message definition. true to export a type definition for the parent element of the WSDL parts; otherwise, false. Adds to the applicable object a data type definition for a .NET Framework type. An internal mapping between a .NET Framework type and an XML Schema element. Used within the .NET Framework to generate internal mappings to .NET Framework types for SOAP-encoded message parts in a WSDL document. Initializes a new instance of the class, specifying objects representing the XML schemas used by SOAP encoded messages defined in a WSDL document. A collection of objects. Initializes a new instance of the class specifying the schemas, compiler options, and names of related code entities. An containing a collection of objects. One of the that specifies various options for generating a .NET Framework type. A used to generate the serialization code. An that describes the context in which a set of schema are bound to .NET Framework code entities. Initializes a new instance of the class specifying the schemas, compiler options, and the context of the schemas. A collection of objects. One of the that specifies various options for generating a .NET Framework type. An that describes the context in which a set of schema are bound to .NET Framework code entities. Initializes a new instance of the class, specifying objects representing the XML schemas used by SOAP encoded messages, plus classes being generated for bindings defined in a WSDL document. A collection of objects. A object that specifies a collection of classes being generated for bindings defined in a WSDL document. Initializes a new instance of the class specifying the schemas, compiler options, and names of related code entities. A collection of objects. A that maintains a group of names for related code entities or type mappings that are generated by the .NET Framework's XML serialization infrastructure. One of the that specifies various options for generating a .NET Framework type. Generates internal type mapping information for the type of a SOAP-encoded element part defined in a WSDL document where a base type is specified. The .NET Framework type mapping information for a derived type corresponding to a WSDL message part. An that specifies the name of an element's type for which a .NET Framework type is being generated. A base type for the .NET Framework type being generated. true to indicate that the type being generated may indirectly inherit from the base type; otherwise, false. Generates internal type mapping information for a single SOAP-encoded element part defined in a WSDL document. The .NET Framework type mapping for a single element part of a WSDL message definition. The message name. The message namespace. A object that provides information about the part element. Generates internal type mapping information for the element parts of a SOAP-encoded message defined in a WSDL document. The .NET Framework type mappings for the element parts of a WSDL message definition. The message name. The message namespace. An array of type that provides information about the part elements. Generates internal type mapping information for the element parts of a SOAP-encoded message defined in a WSDL document. The .NET Framework type mappings for the element parts of a WSDL message definition. The message name. The message namespace. An array of type that provides information about the part elements. true to have elements defined by the parts enclosed in an extra, wrapper element in a SOAP message; otherwise, false. Generates internal type mapping information for the element parts of a SOAP-encoded message defined in a WSDL document. The .NET Framework type mappings for the element parts of a WSDL message definition. The message name. The message namespace. An array of type that provides information about the part elements. true to have elements defined by the parts enclosed in an extra, wrapper element in a SOAP message; otherwise, false. A base type for all .NET Framework types that are generated to correspond to message parts. true to indicate that types corresponding to message parts can indirectly inherit from the base type; otherwise, false. Represents certain attributes of a XSD <part> element in a WSDL document for generating classes from the document. Initializes a new instance of the class. Gets or sets a value that corresponds to the name attribute of the WSDL part element. The element name. Gets or sets a value that corresponds to the type attribute of the WSDL part element. An that corresponds to the XML type. Controls the schema generated by the when a class instance is serialized as SOAP encoded XML. Initializes a new instance of the class. Initializes a new instance of the class and specifies the name of the XML type. The name of the XML type that the generates when it serializes the class instance (and recognizes when it deserializes the class instance). Initializes a new instance of the class and specifies the name and XML namespace of the type. The name of the XML type that the generates when it serializes the class instance (and recognizes when it deserializes the class instance). The XML namespace of the type. Gets or sets a value that indicates whether to include the type in SOAP-encoded XML Schema documents. true to include the type in SOAP-encoded XML Schema documents; otherwise, false. The default is true. Gets or sets the namespace of the XML type. The namespace of the XML type. The default is an empty string (""). Gets or sets the name of the XML type. The name of the XML type. The default is the class name. Provides data for the known, but unreferenced, object found in an encoded SOAP XML stream during deserialization. Initializes a new instance of the class. The unreferenced object. A unique string used to identify the unreferenced object. Gets the ID of the object. The ID of the object. Gets the deserialized, but unreferenced, object. The deserialized, but unreferenced, object. Represents the method that handles the event of an . The source of the event. An that contains the event data. Specifies that the member (a field that returns an array of objects) can contain any XML attributes. Constructs a new instance of the class. Specifies that the member (a field that returns an array of or objects) contains objects that represent any XML element that has no corresponding member in the object being serialized or deserialized. Initializes a new instance of the class. Initializes a new instance of the class and specifies the XML element name generated in the XML document. The name of the XML element that the generates. Initializes a new instance of the class and specifies the XML element name generated in the XML document and its XML namespace. The name of the XML element that the generates. The XML namespace of the XML element. Gets or sets the XML element name. The name of the XML element. The element name of an array member does not match the element name specified by the property. Gets or sets the XML namespace generated in the XML document. An XML namespace. Gets or sets the explicit order in which the elements are serialized or deserialized. The order of the code generation. Represents a collection of objects. Initializes a new instance of the class. Adds an to the collection. The index of the newly added . The to add. Gets a value that indicates whether the specified exists in the collection. true if the exists in the collection; otherwise, false. The you are interested in. Copies the entire collection to a compatible one-dimensional array of objects, starting at the specified index of the target array. The one-dimensional array of objects that is the destination of the elements copied from the collection. The array must have zero-based indexing. The zero-based index in at which copying begins. Gets the index of the specified . The index of the specified . The whose index you want. Inserts an into the collection at the specified index. The index where the is inserted. The to insert. Gets or sets the at the specified index. An at the specified index. The index of the . Removes the specified from the collection. The to remove. Specifies that the must serialize a particular class member as an array of XML elements. Initializes a new instance of the class. Initializes a new instance of the class and specifies the XML element name generated in the XML document instance. The name of the XML element that the generates. Gets or sets the XML element name given to the serialized array. The XML element name of the serialized array. The default is the name of the member to which the is assigned. Gets or sets a value that indicates whether the XML element name generated by the is qualified or unqualified. One of the values. The default is XmlSchemaForm.None. Gets or sets a value that indicates whether the must serialize a member as an empty XML tag with the xsi:nil attribute set to true. true if the generates the xsi:nil attribute; otherwise, false. Gets or sets the namespace of the XML element. The namespace of the XML element. Gets or sets the explicit order in which the elements are serialized or deserialized. The order of the code generation. Specifies the derived types that the can place in a serialized array. Initializes a new instance of the class. Initializes a new instance of the class and specifies the name of the XML element generated in the XML document. The name of the XML element. Initializes a new instance of the class and specifies the name of the XML element generated in the XML document and the that can be inserted into the generated XML document. The name of the XML element. The of the object to serialize. Initializes a new instance of the class and specifies the that can be inserted into the serialized array. The of the object to serialize. Gets or sets the XML data type of the generated XML element. An XML Schema definition (XSD) data type, as defined by the World Wide Web Consortium (www.w3.org) document "XML Schema Part 2: DataTypes". Gets or sets the name of the generated XML element. The name of the generated XML element. The default is the member identifier. Gets or sets a value that indicates whether the name of the generated XML element is qualified. One of the values. The default is XmlSchemaForm.None. The property is set to XmlSchemaForm.Unqualified and a value is specified. Gets or sets a value that indicates whether the must serialize a member as an empty XML tag with the xsi:nil attribute set to true. true if the generates the xsi:nil attribute; otherwise, false, and no instance is generated. The default is true. Gets or sets the namespace of the generated XML element. The namespace of the generated XML element. Gets or sets the level in a hierarchy of XML elements that the affects. The zero-based index of a set of indexes in an array of arrays. Gets or sets the type allowed in an array. A that is allowed in the array. Represents a collection of objects. Initializes a new instance of the class. Adds an to the collection. The index of the added item. The to add to the collection. Determines whether the collection contains the specified . true if the collection contains the specified ; otherwise, false. The to check for. Copies an array to the collection, starting at a specified target index. The array of objects to copy to the collection. The index at which the copied attributes begin. Returns the zero-based index of the first occurrence of the specified in the collection or 1 if the attribute is not found in the collection. The first index of the in the collection or -1 if the attribute is not found in the collection. The to locate in the collection. Inserts an into the collection at the specified index. The index at which the attribute is inserted. The to insert. Gets or sets the item at the specified index. The at the specified index. The zero-based index of the collection member to get or set. Removes an from the collection, if it is present. The to remove. Specifies that the must serialize the class member as an XML attribute. Initializes a new instance of the class. Initializes a new instance of the class and specifies the name of the generated XML attribute. The name of the XML attribute that the generates. Initializes a new instance of the class. The name of the XML attribute that is generated. The used to store the attribute. Initializes a new instance of the class. The used to store the attribute. Gets or sets the name of the XML attribute. The name of the XML attribute. The default is the member name. Gets or sets the XSD data type of the XML attribute generated by the . An XSD (XML Schema Document) data type, as defined by the World Wide Web Consortium (www.w3.org) document named "XML Schema: DataTypes". Gets or sets a value that indicates whether the XML attribute name generated by the is qualified. One of the values. The default is XmlForm.None. Gets or sets the XML namespace of the XML attribute. The XML namespace of the XML attribute. Gets or sets the complex type of the XML attribute. The type of the XML attribute. Provides data for the event. Gets an object that represents the unknown XML attribute. An that represents the unknown XML attribute. Gets a comma-delimited list of XML attribute names expected to be in an XML document instance. A comma-delimited list of XML attribute names. Each name is in the following format: :. Gets the line number of the unknown XML attribute. The line number of the unknown XML attribute. Gets the position in the line of the unknown XML attribute. The position number of the unknown XML attribute. Gets the object being deserialized. The object being deserialized. Represents the method that handles the The source of the event. An that contains the event data. Allows you to override property, field, and class attributes when you use the to serialize or deserialize an object. Initializes a new instance of the class. Adds an object to the collection of objects. The parameter specifies an object to be overridden. The parameter specifies the name of a member that is overridden. The of the object to override. The name of the member to override. An object that represents the overriding attributes. Adds an object to the collection of objects. The parameter specifies an object to be overridden by the object. The of the object that is overridden. An object that represents the overriding attributes. Gets the object associated with the specified, base-class, type. An that represents the collection of overriding attributes. The base class that is associated with the collection of attributes you want to retrieve. Gets the object associated with the specified (base-class) type. The member parameter specifies the base-class member that is overridden. An that represents the collection of overriding attributes. The base class that is associated with the collection of attributes you want. The name of the overridden member that specifies the to return. Represents a collection of attribute objects that control how the serializes and deserializes an object. Initializes a new instance of the class. Initializes a new instance of the class and customizes how the serializes and deserializes an object. A class that can provide alternative implementations of attributes that control XML serialization. Gets or sets the to override. The to override. Gets the collection of objects to override. An object that represents the collection of objects. Gets or sets an object that specifies how the serializes a public field or read/write property that returns an array. An that specifies how the serializes a public field or read/write property that returns an array. Gets or sets a collection of objects that specify how the serializes items inserted into an array returned by a public field or read/write property. An object that contains a collection of objects. Gets or sets an object that specifies how the serializes a public field or public read/write property as an XML attribute. An that controls the serialization of a public field or read/write property as an XML attribute. Gets or sets an object that allows you to distinguish between a set of choices. An that can be applied to a class member that is serialized as an xsi:choice element. Gets or sets the default value of an XML element or attribute. An that represents the default value of an XML element or attribute. Gets a collection of objects that specify how the serializes a public field or read/write property as an XML element. An that contains a collection of objects. Gets or sets an object that specifies how the serializes an enumeration member. An that specifies how the serializes an enumeration member. Gets or sets a value that specifies whether or not the serializes a public field or public read/write property. true if the must not serialize the field or property; otherwise, false. Gets or sets a value that specifies whether to keep all namespace declarations when an object containing a member that returns an object is overridden. true if the namespace declarations should be kept; otherwise, false. Gets or sets an object that specifies how the serializes a class as an XML root element. An that overrides a class attributed as an XML root element. Gets or sets an object that instructs the to serialize a public field or public read/write property as XML text. An that overrides the default serialization of a public property or field. Gets or sets an object that specifies how the serializes a class to which the has been applied. An that overrides an applied to a class declaration. Specifies that the member can be further detected by using an enumeration. Initializes a new instance of the class. Initializes a new instance of the class. The member name that returns the enumeration used to detect a choice. Gets or sets the name of the field that returns the enumeration to use when detecting types. The name of a field that returns an enumeration. Generates types and attribute declarations from internal type mapping information for XML schema element declarations. Initializes a new instance of the class using the specified namespace. The namespace of the types to generate. Initializes a new instance of the class using the specified namespace and code compile unit. The namespace of the types to generate. A CodeDOM graph container to which used assembly references are automatically added. Initializes a new instance of the class using the specified .NET Framework namespace, code compile unit containing the graph of the objects, an enumeration specifying code options, and a collection of mapping objects. The namespace of the types to generate. A program graph container to which used assembly references are automatically added. An enumeration value that provides options for generating .NET Framework types from XML schema custom data types. A that contains special instructions for code creation. A that contains objects. Initializes a new instance of the class using the specified namespace, code compile unit, and code generation options. The namespace of the types to generate. A program graph container to which used assembly references are automatically added. An enumeration value that provides options for generating .NET Framework types from XML schema custom data types. Initializes a new instance of the class using the specified .NET Framework namespace, code compile unit containing the graph of the objects, an object representing code generation options, and a collection of mapping objects. The namespace of the types to generate. A program graph container to which used assembly references are automatically added. An enumeration value that provides options for generating .NET Framework types from XML schema custom data types. A that contains objects. Adds an declaration to a method parameter or return value that corresponds to a <part> element of a SOAP message definition in a Web Services Description Language (WSDL) document. The collection of objects for the generated type to which the method adds an attribute declaration. An internal .NET Framework type mapping for a single element part of a WSDL message definition. The XML namespace of the SOAP message part for which the type mapping information in the member parameter has been generated. Adds an declaration to a method parameter or return value that corresponds to a <part> element of a SOAP message definition in a Web Services Description Language (WSDL) document. The collection of objects for the generated type to which the method adds an attribute declaration. An internal .NET Framework type mapping for a single element part of a WSDL message definition. The XML namespace of the SOAP message part for which the type mapping information in the member parameter has been generated. Flag that helps determine whether to add an initial argument containing the XML element name for the attribute declaration being generated. Adds an declaration to a method return value that corresponds to a <part> element of a non-SOAP message definition in a Web Services Description Language (WSDL) document. The collection of objects for the generated type to which the method adds an attribute declaration. The internal .NET Framework type mapping information for an XML schema element. The XML namespace of the SOAP message part for which the type mapping information in the member parameter has been generated. Generates a .NET Framework type, plus attribute declarations, for each of the parts that belong to a SOAP message definition in a Web Services Description Language (WSDL) document. The internal .NET Framework type mappings for the element parts of a WSDL message definition. Generates a .NET Framework type, plus attribute declarations, for an XML schema element. The internal .NET Framework type mapping information for an XML schema element. Contains fields that can be used to pass event delegates to a thread-safe method of the . Gets or sets an object that represents the method that handles the event. An that points to the event handler. Gets or sets an object that represents the method that handles the event. An that points to the event handler. Gets or sets an object that represents the method that handles the event. An that points to the event handler. Gets or sets an object that represents the method that handles the event. An that points to the event handler. Indicates that a public field or property represents an XML element when the serializes or deserializes the object that contains it. Initializes a new instance of the class. Initializes a new instance of the class and specifies the name of the XML element. The XML element name of the serialized member. Initializes a new instance of the and specifies the name of the XML element and a derived type for the member to which the is applied. This member type is used when the serializes the object that contains it. The XML element name of the serialized member. The of an object derived from the member's type. Initializes a new instance of the class and specifies a type for the member to which the is applied. This type is used by the when serializing or deserializing object that contains it. The of an object derived from the member's type. Gets or sets the XML Schema definition (XSD) data type of the XML element generated by the . An XML Schema data type, as defined by the World Wide Web Consortium (www.w3.org) document named "XML Schema Part 2: Datatypes". The XML Schema data type you have specified cannot be mapped to the.NET data type. Gets or sets the name of the generated XML element. The name of the generated XML element. The default is the member identifier. Gets or sets a value that indicates whether the element is qualified. One of the values. The default is . Gets or sets a value that indicates whether the must serialize a member that is set to null as an empty tag with the xsi:nil attribute set to true. true if the generates the xsi:nil attribute; otherwise, false. Gets or sets the namespace assigned to the XML element that results when the class is serialized. The namespace of the XML element. Gets or sets the explicit order in which the elements are serialized or deserialized. The order of the code generation. Gets or sets the object type used to represent the XML element. The of the member. Represents a collection of objects used by the to override the default way it serializes a class. Initializes a new instance of the class. Adds an to the collection. The zero-based index of the newly added item. The to add. Gets a value that specifies whether the collection contains the specified object. true, if the object exists in the collection; otherwise, false. The in question. Copies the , or a portion of it to a one-dimensional array. The array to copy to. The zero-based index in at which copying begins. Gets the index of the specified . The zero-based index of the . The you are interested in. Inserts an into the collection. The zero-based index where the member is added. The to insert. Gets or sets an from the collection. The at the specified index. The zero-based index of the collection member to get or set. Removes the specified object from the collection. The to remove from the collection. Provides data for the event. Gets the object that represents the unknown XML element. An . Gets a comma-delimited list of XML element names expected to be in an XML document instance. A comma-delimited list of XML element names. Each name is in the following format: :. Gets the line number where the unknown element was encountered if the XML reader is an . The line number where the unknown element was encountered if the XML reader is an ; otherwise, -1. Gets the place in the line where the unknown element occurs if the XML reader is an . The number in the line where the unknown element occurs if the XML reader is an ; otherwise, -1. Gets the object the is deserializing. The object that is being deserialized by the . Represents the method that handles the event of an . The source of the event. A that contains the event data. Controls how the serializes an enumeration member. Initializes a new instance of the class. Initializes a new instance of the class, and specifies the XML value that the generates or recognizes (when it serializes or deserializes the enumeration, respectively). The overriding name of the enumeration member. Gets or sets the value generated in an XML-document instance when the serializes an enumeration, or the value recognized when it deserializes the enumeration member. The value generated in an XML-document instance when the serializes the enumeration, or the value recognized when it is deserializes the enumeration member. Instructs the method of the not to serialize the public field or public read/write property value. Initializes a new instance of the class. Allows the to recognize a type when it serializes or deserializes an object. Initializes a new instance of the class. The of the object to include. Gets or sets the type of the object to include. The of the object to include. Supports mappings between .NET Framework types and XML Schema data types. Get the name of the mapped element. The name of the mapped element. Gets the namespace of the mapped element. The namespace of the mapped element. Sets the key used to look up the mapping. A that contains the lookup key. Gets the name of the XSD element of the mapping. The XSD element name. Specifies whether a mapping is read, write, or both. Both read and write methods are generated. Read methods are generated. Write methods are generated. Maps a code entity in a .NET Framework Web service method to an element in a Web Services Description Language (WSDL) message. Gets or sets a value that indicates whether the .NET Framework type maps to an XML element or attribute of any type. true, if the type maps to an XML any element or attribute; otherwise, false. Gets a value that indicates whether the accompanying field in the .NET Framework type has a value specified. true, if the accompanying field has a value specified; otherwise, false. Gets the unqualified name of the XML element declaration that applies to this mapping. The unqualified name of the XML element declaration that applies to this mapping. Returns the name of the type associated with the specified . The name of the type. A that contains the name of the type. Gets the name of the Web service method member that is represented by this mapping. The name of the Web service method member represented by this mapping. Gets the XML namespace that applies to this mapping. The XML namespace that applies to this mapping. Gets the fully qualified type name of the .NET Framework type for this mapping. The fully qualified type name of the .NET Framework type for this mapping. Gets the type name of the .NET Framework type for this mapping. The type name of the .NET Framework type for this mapping. Gets the namespace of the .NET Framework type for this mapping. The namespace of the .NET Framework type for this mapping. Gets the XML element name as it appears in the service description document. The XML element name. Provides mappings between .NET Framework Web service methods and Web Services Description Language (WSDL) messages that are defined for SOAP Web services. Gets the number of .NET Framework code entities that belong to a Web service method to which a SOAP message is being mapped. The number of mappings in the collection. Gets an item that contains internal type mapping information for a .NET Framework code entity that belongs to a Web service method being mapped to a SOAP message. The requested . The index of the mapping to return. Gets the name of the .NET Framework type being mapped to the data type of an XML Schema element that represents a SOAP message. The name of the .NET Framework type. Gets the namespace of the .NET Framework type being mapped to the data type of an XML Schema element that represents a SOAP message. The .NET Framework namespace of the mapping. Specifies that the target property, parameter, return value, or class member contains prefixes associated with namespaces that are used within an XML document. Initializes a new instance of the class. Provides data for the event. Gets the line number of the unknown XML node. The line number of the unknown XML node. Gets the position in the line of the unknown XML node. The position number of the unknown XML node. Gets the XML local name of the XML node being deserialized. The XML local name of the node being deserialized. Gets the name of the XML node being deserialized. The name of the node being deserialized. Gets the namespace URI that is associated with the XML node being deserialized. The namespace URI that is associated with the XML node being deserialized. Gets the type of the XML node being deserialized. The that represents the XML node being deserialized. Gets the object being deserialized. The being deserialized. Gets the text of the XML node being deserialized. The text of the XML node being deserialized. Represents the method that handles the event of an . The source of the event. An that contains the event data. Generates mappings to XML schema element declarations, including literal XML Schema Definition (XSD) message parts in a Web Services Description Language (WSDL) document, for .NET Framework types or Web service method information. Initializes a new instance of the class. Initializes a new instance of the class using the specified default XML namespace. The default XML namespace to use for imported type mappings. Initializes a new instance of the class using the specified XML serialization overrides. An object that overrides how the class serializes mapped types. Initializes a new instance of the class using the specified XML serialization overrides and default XML namespace. An object that overrides how the class serializes mapped types. The default XML namespace to use for imported type mappings. Generates internal type mappings for information from a Web service method. An with mappings to the element parts of a WSDL message definition. An XML element name produced from the Web service method. An XML element namespace produced from the Web service method. An array of objects that contain .NET Framework code entities that belong to a Web service method. true if elements that correspond to Web Services Description Language (WSDL) message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false. Returns internal type mappings using information from a Web service method, and allows you to specify an XML element name, XML namespace, and other options. An that contains the mappings. An XML element name produced from the Web service method. An XML element namespace produced from the Web service method. An array of objects that contain .NET Framework code entities that belong to a Web service method. true if elements that correspond to Web Services Description Language (WSDL) message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false. true if the method is a remote procedure call; otherwise, false. Returns internal type mappings using information from a Web service method, and allows you to specify an XML element name, XML namespace, and other options. An that contains the mappings. An XML element name produced from the Web service method. An XML element namespace produced from the Web service method. An array of objects that contain .NET Framework code entities that belong to a Web service method. true if elements that correspond to Web Services Description Language (WSDL) message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false. true if the method is a remote procedure call; otherwise, false. true to specify that the generated schema type will be marked with the <xs:anyAttribute> element; otherwise, false. Generates internal type mappings for information from a Web service method. An that contains the mappings. An XML element name produced from the Web service method. An XML element namespace produced from the Web service method. An array of objects that contain .NET Framework code entities that belong to a Web service method. true if elements that correspond to Web Services Description Language (WSDL) message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false. true if the method is a remote procedure call; otherwise, false. true to specify that the generated schema type will be marked with the <xs:anyAttribute> element; otherwise, false. One of the values. The default is None. Generates a mapping to an XML Schema element for a specified .NET Framework type. Internal .NET Framework mapping of a type to an XML Schema element. The .NET Framework type for which to generate a type mapping. Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type and namespace. Internal .NET Framework mapping of a type to an XML Schema element. The .NET Framework type for which to generate a type mapping. The default XML namespace to use. Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type and attribute. An that represents a mapping of a .NET Framework type to an XML Schema element. The .NET Framework type for which to generate a type mapping. An attribute that is applied to the type. Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type, attribute, and namespace. An that contains the internal .NET Framework mapping of a type to an XML Schema element. The .NET Framework type for which to generate a type mapping. An attribute that is applied to the type. The default XML namespace to use. Includes mappings for a type for later use when import methods are invoked. The .NET Framework type for which to save type mapping information. Includes mappings for derived types for later use when import methods are invoked. An instance of the class that contains custom attributes derived from the attribute. Provides mappings between code entities in .NET Framework Web service methods and the content of Web Services Description Language (WSDL) messages that are defined for SOAP Web services. Initializes a new instance of the class. Gets or sets a value that indicates whether the represents a Web service method return value, as opposed to an output parameter. true, if the member represents a Web service return value; otherwise, false. Gets or sets the name of the Web service method member for this mapping. The name of the Web service method. Gets or sets the type of the Web service method member code entity that is represented by this mapping. The of the Web service method member code entity that is represented by this mapping. Gets or sets a value that indicates that the value of the corresponding XML element definition's isNullable attribute is false. True to override the property; otherwise, false. Gets or sets a with the collection of SOAP-related attributes that have been applied to the member code entity. A that contains the objects that represent SOAP attributes applied to the member. Gets or sets an with the collection of -related attributes that have been applied to the member code entity. An that represents XML attributes that have been applied to the member code. Controls XML serialization of the attribute target as an XML root element. Initializes a new instance of the class. Initializes a new instance of the class and specifies the name of the XML root element. The name of the XML root element. Gets or sets the XSD data type of the XML root element. An XSD (XML Schema Document) data type, as defined by the World Wide Web Consortium (www.w3.org) document named "XML Schema: DataTypes". Gets or sets the name of the XML element that is generated and recognized by the class's and methods, respectively. The name of the XML root element that is generated and recognized in an XML-document instance. The default is the name of the serialized class. Gets or sets a value that indicates whether the must serialize a member that is set to null into the xsi:nil attribute set to true. true if the generates the xsi:nil attribute; otherwise, false. Gets or sets the namespace for the XML root element. The namespace for the XML element. Enables iteration over a collection of objects. Initializes a new instance of the class. The object you want to iterate over. Gets the current element in the collection. The current object in the collection. Releases all resources used by the . Advances the enumerator to the next item in the collection. true if the move is successful; otherwise, false. Populates objects with XML schema element declarations that are found in type mapping objects. Initializes a new instance of the class. A collection of objects to which element declarations obtained from type mappings are added. Exports an <any> element to the object that is identified by the specified namespace. An arbitrary name assigned to the <any> element declaration. The namespace of the XML schema document to which to add an <any> element. Adds an element declaration for an object or type to a SOAP message or to an object. The string "any" with an appended integer. An that contains mappings to export. Adds an element declaration to the applicable for each of the element parts of a literal SOAP message definition. The internal .NET Framework type mappings for the element parts of a Web Services Description Language (WSDL) message definition. Adds an element declaration to the applicable for each of the element parts of a literal SOAP message definition, and specifies whether enclosing elements are included. The internal mapping between a .NET Framework type and an XML schema element. true if the schema elements that enclose the schema are to be included; otherwise, false. Adds an element declaration to the applicable object for a single element part of a literal SOAP message definition. An that represents the qualified XML name of the exported element declaration. Internal .NET Framework type mappings for the element parts of a Web Services Description Language (WSDL) message definition. Adds an element declaration for a .NET Framework type to the applicable object. The internal mapping between a .NET Framework type and an XML schema element. Generates internal mappings to .NET Framework types for XML schema element declarations, including literal XSD message parts in a WSDL document. Initializes a new instance of the class, taking a collection of objects representing the XML schemas used by SOAP literal messages defined in a WSDL document. A collection of objects. Initializes a new instance of the class. A collection of objects. A bitwise combination of the values that specifies the options to use when generating .NET Framework types for a Web service. A used to generate the serialization code. A instance that specifies the import context. Initializes a new instance of the class for a collection of XML schemas, using the specified code generation options and import context. A collection of objects. A enumeration that specifies code generation options. A instance that specifies the import context. Initializes a new instance of the class, taking a collection of objects that represents the XML schemas used by SOAP literal messages, plus classes being generated for bindings defined in a Web Services Description Language (WSDL) document. An object. A object that specifies a collection of classes being generated for bindings defined in a WSDL document. Initializes a new instance of the class, taking a collection of objects that represents the XML schemas used by SOAP literal messages, plus classes being generated for bindings defined in a WSDL document, and a enumeration value. A collection of objects. A object that specifies a collection of classes being generated for bindings defined in a WSDL document. A bitwise combination of the values that specifies the options to use when generating .NET Framework types for a Web service. Generates internal type mapping information for a single, (SOAP) literal element part defined in a WSDL document. An representing the .NET Framework type mapping for a single element part of a WSDL message definition. An that specifies the name of an element's type for which a .NET Framework type is generated. The name of the part element in the WSDL document. Generates internal type mapping information for an element defined in an XML schema document. An representing the.NET Framework type mapping information for an XML schema element. An that specifies the name of an element defined in an XML schema document. A base type for the .NET Framework type that is generated to correspond to an XSD element's type. Generates internal type mapping information for an element defined in an XML schema document or as a part in a WSDL document. The .NET Framework type mapping information for an XML schema element. An that specifies the name of an element defined in an XML schema document. A base type for the .NET Framework type that is generated to correspond to an XSD element's type. true to indicate that the type corresponding to an XSD element can indirectly inherit from the base type; otherwise, false. Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document. A that contains type mapping information. The name of the element for which to generate a mapping. The namespace of the element for which to generate a mapping. An array of instances that specifies the members of the element for which to generate a mapping. Generates internal type mapping information for a single element part of a literal-use SOAP message defined in a WSDL document. The .NET Framework type mapping for a WSDL message definition containing a single element part. An that specifies the name of the message part. Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document. An that represents the .NET Framework type mappings for the element parts of a WSDL message definition. An array of type that specifies the names of the message parts. Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document. The .NET Framework type mappings for the element parts of a WSDL message definition. An array of type that specifies the names of the message parts. A base type for all .NET Framework types that are generated to correspond to message parts. true to indicate that the types corresponding to message parts can indirectly inherit from the base type; otherwise, false. Generates internal type mapping information for an element defined in an XML schema document. A object that describes a type mapping. A that specifies an XML element. Generates internal type mapping information for an element defined in an XML schema document. A object that describes a type mapping. A that specifies an XML element. A object that specifies a base type. Generates internal type mapping information for an element defined in an XML schema document. A object that describes a type mapping. A that specifies an XML element. A object that specifies a base type. A value that specifies whether the generated type can indirectly inherit the . Generates internal type mapping information for an element defined in an XML schema document. The .NET Framework type mapping information for an XML schema element. An that specifies the name of an element defined in an XML schema document. When applied to a type, stores the name of a static method of the type that returns an XML schema and a (or for anonymous types) that controls the serialization of the type. Initializes a new instance of the class, taking the name of the static method that supplies the type's XML schema. The name of the static method that must be implemented. Gets or sets a value that determines whether the target class is a wildcard, or that the schema for the class has contains only an xs:any element. true, if the class is a wildcard, or if the schema contains only the xs:any element; otherwise, false. Gets the name of the static method that supplies the type's XML schema and the name of its XML Schema data type. The name of the method that is invoked by the XML infrastructure to return an XML schema. Represents the collection of XML schemas. Initializes a new instance of the class. Adds an object to the end of the collection. The index at which the is added. The object to be added to the collection of objects. Adds an object that represents an assembly reference to the collection. The index at which the is added. The to add. The of the schema object. Adds an instance of the class to the end of the collection. The object to be added to the end of the collection. Adds an object that represents an assembly reference to the collection. The to add. Processes the element and attribute names in the XML schemas and, optionally, validates the XML schemas. A that specifies the callback method that handles errors and warnings during XML Schema validation, if the strict parameter is set to true. true to validate the XML schemas in the collection using the method of the class; otherwise, false. Returns a value that indicates whether the collection contains an object that belongs to the specified namespace. true if the item is found; otherwise, false. The namespace of the item to check for. Determines whether the contains a specific schema. true, if the collection contains the specified item; otherwise, false. The object to locate. Copies the entire to a compatible one-dimensional , which starts at the specified index of the target array. The one-dimensional that is the destination of the schemas copied from . The must have zero-based indexing. A 32-bit integer that represents the index in the array where copying begins. Locates in one of the XML schemas an of the specified name and type. An instance, such as an or . An that specifies a fully qualified name with a namespace used to locate an object in the collection. The of the object to find. Possible types include: , , , , and . Gets a collection of schemas that belong to the same namespace. An implementation that contains the schemas. The namespace of the schemas to retrieve. Searches for the specified schema and returns the zero-based index of the first occurrence within the entire . The zero-based index of the first occurrence of the value within the entire , if found; otherwise, -1. The to locate. Inserts a schema into the at the specified index. The zero-based index at which should be inserted. The object to be inserted. Gets a value that indicates whether the schemas have been compiled. true, if the schemas have been compiled; otherwise, false. Static method that determines whether the specified XML schema contains a custom IsDataSet attribute set to true, or its equivalent. true if the specified schema exists; otherwise, false. The XML schema to check for an IsDataSet attribute with a true value. Gets or sets the object at the specified index. The specified . The index of the item to retrieve. Gets a specified object that represents the XML schema associated with the specified namespace. The specified object. The namespace of the specified object. Performs additional custom processes when clearing the contents of the instance. Performs additional custom processes before inserting a new element into the instance. The zero-based index at which to insert . The new value of the element at . Performs additional custom processes when removing an element from the instance. The zero-based index at which can be found. The value of the element to remove at . Performs additional custom processes before setting a value in the instance. The zero-based index at which can be found. The value to replace with . The new value of the element at . Removes the first occurrence of a specific schema from the . The to remove. Returns an enumerator that iterates through the collection of XML schemas. An object that can be used to iterate through the collection. Delegate used by the class for deserialization of SOAP-encoded XML data types that map to collections or enumerations. Delegate used by the class for deserialization of SOAP-encoded XML data. An abstract class that is the base class for and and that contains methods common to both of these types. Initializes an instance of the class. Delegate used by the class for deserialization of types from SOAP-encoded, non-root XML data. Controls deserialization by the class. Initializes a new instance of the class. Stores an object that contains a callback method that will be called, as necessary, to fill in .NET Framework collections or enumerations that map to SOAP-encoded arrays or SOAP-encoded, multi-referenced elements. A delegate and the callback method's input data. Stores an object that contains a callback method instance that will be called, as necessary, to fill in the objects in a SOAP-encoded array. An delegate and the callback method's input data. Stores an implementation of the delegate and its input data for a later invocation. The name of the .NET Framework type that is being deserialized. The namespace of the .NET Framework type that is being deserialized. The to be deserialized. An delegate. Stores an object that is being deserialized from a SOAP-encoded multiRef element for later access through the method. The value of the id attribute of a multiRef element that identifies the element. The object that is deserialized from the XML element. Checks whether the deserializer has advanced. The current count in a while loop. The current . The has not advanced. Removes all occurrences of white space characters from the beginning and end of the specified string. The trimmed string. The string that will have its white space trimmed. Creates an that indicates that an object being deserialized should be abstract. An exception. The name of the abstract type. The .NET Framework namespace of the abstract type. Populates an object from its XML representation at the current location of the , with an option to read the inner element. An exception. The local name of the derived XML Schema data type. The namespace of the derived XML Schema data type. The local name of the base XML Schema data type. The namespace of the base XML Schema data type. The namespace of the derived .NET Framework type. The name of the base .NET Framework type. Creates an that indicates that an object being deserialized cannot be instantiated because the constructor throws a security exception. An exception. The name of the type. Creates an that indicates that an object being deserialized cannot be instantiated because there is no constructor available. An exception. The name of the type. Creates an that indicates that an explicit reference conversion failed. An exception. The that an object cannot be cast to. This type is incorporated into the exception message. The object that cannot be cast. This object is incorporated into the exception message. Creates an that indicates that an explicit reference conversion failed. An exception. The that an object cannot be cast to. This type is incorporated into the exception message. The object that cannot be cast. This object is incorporated into the exception message. A string identifier. Creates an that indicates that a derived type that is mapped to an XML Schema data type cannot be located. An exception. The local name of the XML Schema data type that is mapped to the unavailable derived type. The namespace of the XML Schema data type that is mapped to the unavailable derived type. The full name of the .NET Framework base type for which a derived type cannot be located. Creates an that indicates that a SOAP-encoded collection type cannot be modified and its values cannot be filled in. An exception. The fully qualified name of the .NET Framework type for which there is a mapping. Creates an that indicates that an enumeration value is not valid. An exception. The enumeration value that is not valid. The enumeration type. Creates an that indicates that the current position of represents an unknown XML node. An exception. Creates an that indicates that a type is unknown. An exception. An that represents the name of the unknown type. Gets or sets a value that determines whether XML strings are translated into valid .NET Framework type names. true if XML strings are decoded into valid .NET Framework type names; otherwise, false. Gets the XML document object into which the XML document is being deserialized. An that represents the deserialized data. Ensures that a given array, or a copy, is large enough to contain a specified index. The existing , if it is already large enough; otherwise, a new, larger array that contains the original array's elements. The that is being checked. The required index. The of the array's elements. Fills in the values of a SOAP-encoded array whose data type maps to a .NET Framework reference type. An object that contains the array whose values are filled in. Gets the length of the SOAP-encoded array where the is currently positioned. The length of the SOAP array. The local name that the array should have. The namespace that the array should have. Determines whether the XML element where the is currently positioned has a null attribute set to the value true. true if is currently positioned over a null attribute with the value true; otherwise, false. Gets an object that is being deserialized from a SOAP-encoded multiRef element and that was stored earlier by . An object to be deserialized from a SOAP-encoded multiRef element. The value of the id attribute of a multiRef element that identifies the element. Gets the value of the xsi:type attribute for the XML element at the current location of the . An XML qualified name that indicates the data type of an XML element. Initializes callback methods that populate objects that map to SOAP-encoded XML data. Stores element and attribute names in a object. Gets or sets a value that should be true for a SOAP 1.1 return value. true, if the value is a return value. Determines whether an XML attribute name indicates an XML namespace. true if the XML attribute name indicates an XML namespace; otherwise, false. The name of an XML attribute. Sets the value of the XML attribute if it is of type arrayType from the Web Services Description Language (WSDL) namespace. An that may have the type wsdl:array. Makes the read the fully qualified name of the element where it is currently positioned. The fully qualified name of the current XML element. Makes the read an XML end tag. Gets the object that is being used by . The that is being used by the . Gets the current count of the . The current count of an . Instructs the to read the current XML element if the element has a null attribute with the value true. true if the element has a null="true" attribute value and has been read; otherwise, false. Instructs the to read the fully qualified name of the element where it is currently positioned. A that represents the fully qualified name of the current XML element; otherwise, null if a null="true" attribute value is present. Instructs the to read a simple, text-only XML element that could be null. The string value; otherwise, null. Reads the value of the href attribute (ref attribute for SOAP 1.2) that is used to refer to an XML element in SOAP encoding. true if the value was read; otherwise, false. An output string into which the href attribute value is read. Deserializes an object from a SOAP-encoded multiRef XML element. The value of the referenced element in the document. Deserializes an object from a SOAP-encoded multiRef XML element. The value of the referenced element in the document. The local name of the element's XML Schema data type. The namespace of the element's XML Schema data type. Deserializes objects from the SOAP-encoded multiRef elements in a SOAP message. Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element. The deserialized object. The local name of the element's XML Schema data type. The namespace of the element's XML Schema data type. true if the element name is also the XML Schema data type name; otherwise, false. An output string into which the value of the href attribute is read. Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element. The deserialized object. The local name of the element's XML Schema data type. The namespace of the element's XML Schema data type. An output string into which the href attribute value is read. Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element. The deserialized object. An output string into which the href attribute value is read. Populates an object from its XML representation at the current location of the . An object that implements the interface with its members populated from the location of the . An that corresponds to the current position of the . Produces the result of a call to the method appended to the input value. The result of call to the method appended to the input value. A string to prefix to the result of a call to the method. Returns the result of a call to the method of the class, trimmed of white space if needed, and appended to the input value. The result of the read operation appended to the input value. A string that will be appended to. true if the result of the read operation should be trimmed; otherwise, false. Reads an XML element that allows null values (xsi:nil = 'true') and returns a generic value. A generic that represents a null XML value. The that represents the simple data type for the current location of the . Gets the value of the XML node at which the is currently positioned. The value of the node as a .NET Framework value type, if the value is a simple XML Schema data type. The that represents the simple data type for the current location of the . Instructs the to read an XML document root element at its current position. An that contains the root element that has been read. true if the method should read content only after reading the element's start element; otherwise, false. Instructs the to read the XML node at its current position. An that represents the XML node that has been read. true to read content only after reading the element's start element; otherwise, false. Stores an object to be deserialized from a SOAP-encoded multiRef element. The object to be deserialized. Gets a dynamically generated assembly by name. A dynamically generated . The full name of the assembly. Ensures that a given array, or a copy, is no larger than a specified length. The existing , if it is already small enough; otherwise, a new, smaller array that contains the original array's elements up to the size of. The array that is being checked. The maximum length of the array. The of the array's elements. true if null for the array, if present for the input array, can be returned; otherwise, a new, smaller array. Instructs the to read the string value at its current position and return it as a base-64 byte array. A base-64 byte array; otherwise, null if the value of the parameter is true. true to return null; false to return a base-64 byte array. Produces a base-64 byte array from an input string. A base-64 byte array. A string to translate into a base-64 byte array. Instructs the to read the string value at its current position and return it as a hexadecimal byte array. A hexadecimal byte array; otherwise, null if the value of the parameter is true. true to return null; false to return a hexadecimal byte array. Produces a hexadecimal byte array from an input string. A hexadecimal byte array. A string to translate into a hexadecimal byte array. Produces a object from an input string. A object. A string to translate into a object. Produces a object from an input string. A object. A string to translate into a class object. Produces a object from an input string. A object. A string to translate into a object. Produces a numeric enumeration value from a string that consists of delimited identifiers that represent constants from the enumerator list. A long value that consists of the enumeration value as a series of bitwise OR operations. A string that consists of delimited identifiers where each identifier represents a constant from the set enumerator list. A that consists of the identifiers as keys and the constants as integral numbers. The name of the enumeration type. Produces a from a string that represents the time. A object. A string to translate into a object. Decodes an XML name. A decoded string. An XML name to be decoded. Decodes an XML name. A decoded string. An XML name to be decoded. Decodes an XML name. A decoded string. An XML name to be decoded. Decodes an XML name. A decoded string. An XML name to be decoded. Obtains an from a name that may contain a prefix. An that represents a namespace-qualified XML name. A name that may contain a prefix. Raises an event for the current position of the . An object that the is attempting to deserialize, subsequently accessible through the property. An that represents the attribute in question. Raises an event for the current position of the . An object that the is attempting to deserialize, subsequently accessible through the property. A that represents the attribute in question. A comma-delimited list of XML qualified names. Raises an event for the current position of the . The that is being deserialized. The for which an event is raised. Raises an event for the current position of the . An object that the is attempting to deserialize, subsequently accessible through the property. The for which an event is raised. A comma-delimited list of XML qualified names. Raises an event for the current position of the . The object that is being deserialized. Raises an event for the current position of the . The object being deserialized. A comma-delimited list of XML qualified names. Raises an event for the current position of the . A unique string that is used to identify the unreferenced object, subsequently accessible through the property. An object that the is attempting to deserialize, subsequently accessible through the property. Holds an delegate instance, plus the method's inputs; also supplies the method's parameters. Initializes a new instance of the class with parameters for a callback method. A collection into which the callback method copies the collection items array. A method that instantiates the delegate. An array into which the callback method copies a collection. Gets the callback method that instantiates the delegate. The delegate that points to the callback method. Gets the for the callback method. The collection that is used for the fixup. Gets the array into which the callback method copies a collection. The array into which the callback method copies a collection. Holds an delegate instance, plus the method's inputs; also serves as the parameter for the method. Receives the size of a string array to generate. The object that contains other objects whose values get filled in by the callback implementation. A method that instantiates the delegate. The size of the string array obtained through the property. Receives a string array. The object that contains other objects whose values get filled in by the callback implementation. A method that instantiates the delegate. The string array obtained through the property. Gets the callback method that creates an instance of the delegate. An . Gets or sets an array of keys for the objects that belong to the property whose values get filled in by the callback implementation. The array of keys. Gets or sets the object that contains other objects whose values get filled in by the callback implementation. The source containing objects with values to fill. Delegate that is used by the class for serialization of types from SOAP-encoded, non-root XML data. Abstract class used for controlling serialization by the class. Initializes a new instance of the class. Stores an implementation of the delegate and the type it applies to, for a later invocation. The of objects that are serialized. The name of the type of objects that are serialized. The namespace of the type of objects that are serialized. An instance of the delegate. Creates an that indicates an unexpected name for an element that adheres to an XML Schema choice element declaration. An exception. The name that is not valid. The choice element declaration that the name belongs to. The expected local name of an element. The expected namespace of an element. Creates an that indicates the has been invalidly applied to a member; only members that are of type , or derived from , are valid. An exception. The object that represents the invalid member. Creates an that indicates the has been invalidly applied to a member; only members that are of type , or derived from , are valid. An exception. The that is invalid. Creates an that indicates a failure while writing an array where an XML Schema choice element declaration is applied. An exception. The type being serialized. A name for the choice element declaration. Creates an for an invalid enumeration value. An . An object that represents the invalid enumeration. The XML type name. Creates an that indicates that a value for an XML element does not match an enumeration type. An exception. The value that is not valid. The name of the XML element with an invalid value. The valid value. Creates an that indicates that an XML element that should adhere to the XML Schema any element declaration cannot be processed. An exception. The XML element that cannot be processed. The namespace of the XML element. Creates an that indicates that a type being serialized is not being used in a valid manner or is unexpectedly encountered. An exception. The object whose type cannot be serialized. Creates an that indicates that a type being serialized is not being used in a valid manner or is unexpectedly encountered. An exception. The type that cannot be serialized. Gets or sets a value that indicates whether the method is used to write valid XML. true if the method returns an encoded name; otherwise, false. Processes a base-64 byte array. The same byte array that was passed in as an argument. A base-64 array. Produces a string from an input hexadecimal byte array. The byte array value converted to a string. A hexadecimal byte array to translate to a string. Produces a string from an input . The value converted to a string. A to translate to a string. Produces a string from a object. A string representation of the that shows the date but no time. A to translate to a string. Produces a string from an input . A string representation of the that shows the date and time. A to translate to a string. Produces a string that consists of delimited identifiers that represent the enumeration members that have been set. A string that consists of delimited identifiers, where each represents a member from the set enumerator list. The enumeration value as a series of bitwise OR operations. The enumeration's name values. The enumeration's constant values. Takes a numeric enumeration value and the names and constants from the enumerator list for the enumeration and returns a string that consists of delimited identifiers that represent the enumeration members that have been set. A string that consists of delimited identifiers, where each item is one of the values set by the bitwise operation. The enumeration value as a series of bitwise OR operations. The values of the enumeration. The constants of the enumeration. The name of the type Produces a string from a object. A string representation of the object that shows the time but no date. A that is translated to a string. Encodes a valid XML name by replacing characters that are not valid with escape sequences. An encoded string. A string to be used as an XML name. Encodes a valid XML local name by replacing characters that are not valid with escape sequences. An encoded string. A string to be used as a local (unqualified) XML name. Encodes an XML name. An encoded string. An XML name to be encoded. Encodes a space-delimited sequence of XML names into a single XML name. An encoded string. A space-delimited sequence of XML names to be encoded. Returns an XML qualified name, with invalid characters replaced by escape sequences. An XML qualified name, with invalid characters replaced by escape sequences. An that represents the XML to be written. Produces a string that can be written as an XML qualified name, with invalid characters replaced by escape sequences. An XML qualified name, with invalid characters replaced by escape sequences. An that represents the XML to be written. true to ignore empty spaces in the string; otherwise, false. Initializes instances of the delegate to serialize SOAP-encoded XML data. Gets or sets a list of XML qualified name objects that contain the namespaces and prefixes used to produce qualified names in XML documents. An that contains the namespaces and prefix pairs. Gets a dynamically generated assembly by name. A dynamically generated assembly. The full name of the assembly. Initializes object references only while serializing a SOAP-encoded SOAP message. Instructs an object to write an XML attribute that has no namespace specified for its name. The local name of the XML attribute. The value of the XML attribute as a byte array. Instructs the to write an XML attribute that has no namespace specified for its name. The local name of the XML attribute. The value of the XML attribute as a string. Instructs an object to write an XML attribute. The local name of the XML attribute. The namespace of the XML attribute. The value of the XML attribute as a byte array. Writes an XML attribute. The local name of the XML attribute. The namespace of the XML attribute. The value of the XML attribute as a string. Writes an XML attribute where the namespace prefix is provided manually. The namespace prefix to write. The local name of the XML attribute. The namespace represented by the prefix. The value of the XML attribute as a string. Writes an XML node object within the body of a named XML element. The XML node to write, possibly a child XML element. The local name of the parent XML element to write. The namespace of the parent XML element to write. true to write an xsi:nil='true' attribute if the object to serialize is null; otherwise, false. true to indicate that the node, if an XML element, adheres to an XML Schema any element declaration; otherwise, false. Instructs an object to write an object within the body of a named XML element. The XML node to write, possibly a child XML element. The local name of the parent XML element to write. The namespace of the parent XML element to write. true to write an xsi:nil='true' attribute if the object to serialize is null; otherwise, false. true to indicate that the node, if an XML element, adheres to an XML Schema any element declaration; otherwise, false. Writes an XML element with a specified qualified name in its body. The local name of the XML element. The namespace of the XML element. The name to write, using its prefix if namespace-qualified, in the element text. Writes an XML element with a specified qualified name in its body. The local name of the XML element. The namespace of the XML element. The name to write, using its prefix if namespace-qualified, in the element text. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element with a specified qualified name in its body. The local name of the XML element. The name to write, using its prefix if namespace-qualified, in the element text. Writes an XML element with a specified qualified name in its body. The local name of the XML element. The name to write, using its prefix if namespace-qualified, in the element text. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element with a specified value in its body. The local name of the XML element to be written without namespace qualification. The text value of the XML element. Writes an XML element with a specified value in its body. The local name of the XML element. The namespace of the XML element. The text value of the XML element. Writes an XML element with a specified value in its body. The local name of the XML element. The namespace of the XML element. The text value of the XML element. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element with a specified value in its body. The local name of the XML element. The text value of the XML element. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element with a specified value in its body. The local name of the XML element. The text value of the XML element. Writes an XML element with a specified value in its body. The local name of the XML element. The text value of the XML element. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element with a specified value in its body. The local name of the XML element. The text value of the XML element. Writes an XML element with a specified value in its body. The local name of the XML element. The namespace of the XML element. The text value of the XML element. Writes an XML element with a specified value in its body. The local name of the XML element. The namespace of the XML element. The text value of the XML element. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element with a specified value in its body. The local name of the XML element. The namespace of the XML element. The text value of the XML element. Writes an XML element with a specified value in its body. The local name of the XML element. The namespace of the XML element. The text value of the XML element. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element with a specified value in its body. The local name of the XML element. The text value of the XML element. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element whose body is empty. The local name of the XML element to write. Writes an XML element whose body is empty. The local name of the XML element to write. The namespace of the XML element to write. Writes a <closing> element tag. Writes a closing element tag. The object being serialized. Writes an id attribute that appears in a SOAP-encoded multiRef element. The object being serialized. Writes namespace declaration attributes. The XML namespaces to declare. Writes an XML element whose body contains a valid XML qualified name. inserts an xsi:nil='true' attribute if the string's value is null. The local name of the XML element to write. The namespace of the XML element to write. The XML qualified name to write in the body of the XML element. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element whose body contains a valid XML qualified name. inserts an xsi:nil='true' attribute if the string's value is null. The local name of the XML element to write. The namespace of the XML element to write. The XML qualified name to write in the body of the XML element. Writes an XML element that contains a string as the body. inserts an xsi:nil='true' attribute if the string's value is null. The local name of the XML element to write. The namespace of the XML element to write. The string to write in the body of the XML element. The name of the XML Schema data type to be written to the xsi:type attribute. Writes a byte array as the body of an XML element. inserts an xsi:nil='true' attribute if the string's value is null. The local name of the XML element to write. The namespace of the XML element to write. The byte array to write in the body of the XML element. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element that contains a string as the body. inserts an xsi:nil='true' attribute if the string's value is null. The local name of the XML element to write. The namespace of the XML element to write. The string to write in the body of the XML element. The name of the XML Schema data type to be written to the xsi:type attribute. Writes an XML element that contains a string as the body. inserts an xsi:nil='true' attribute if the string's value is null. The local name of the XML element to write. The namespace of the XML element to write. The string to write in the body of the XML element. Writes a byte array as the body of an XML element. inserts an xsi:nil='true' attribute if the string's value is null. The local name of the XML element to write. The namespace of the XML element to write. The byte array to write in the body of the XML element. Writes an XML element that contains a string as the body. inserts a xsi:nil='true' attribute if the string's value is null. The local name of the XML element to write. The namespace of the XML element to write. The string to write in the body of the XML element. Writes an XML element with an xsi:nil='true' attribute. The local name of the XML element to write. Writes an XML element with an xsi:nil='true' attribute. The local name of the XML element to write. The namespace of the XML element to write. Writes an XML element with an xsi:nil='true' attribute. The local name of the XML element to write. Writes an XML element with an xsi:nil='true' attribute. The local name of the XML element to write. The namespace of the XML element to write. Writes a SOAP message XML element that can contain a reference to a <multiRef> XML element for a given object. The local name of the XML element to write. The namespace of the XML element to write. The object being serialized either in the current XML element or a multiRef element that is referenced by the current element. Writes a SOAP message XML element that can contain a reference to a <multiRef> XML element for a given object. The local name of the XML element to write. The namespace of the XML element to write. The object being serialized either in the current XML element or a multiRef element that referenced by the current element. The type stored in the object's type mapping (as opposed to the object's type found directly through the typeof operation). Writes a SOAP message XML element that can contain a reference to a <multiRef> XML element for a given object. The local name of the XML element to write. The namespace of the XML element to write. The object being serialized either in the current XML element or a multiRef element that is referenced by the current element. The type stored in the object's type mapping (as opposed to the object's type found directly through the typeof operation). true to serialize the object directly into the XML element rather than make the element reference another element that contains the data; otherwise, false. Writes a SOAP message XML element that can contain a reference to a multiRef XML element for a given object. The local name of the XML element to write. The namespace of the XML element to write. The object being serialized either in the current XML element or a multiRef element that referenced by the current element. The type stored in the object's type mapping (as opposed to the object's type found directly through the typeof operation). true to serialize the object directly into the XML element rather than make the element reference another element that contains the data; otherwise, false. true to write an xsi:nil='true' attribute if the object to serialize is null; otherwise, false. Gets the that is being used by the . The used by the class instance. Serializes objects into SOAP-encoded multiRef XML elements in a SOAP message. Writes a SOAP message XML element that contains a reference to a multiRef element for a given object. The local name of the referencing element being written. The namespace of the referencing element being written. The object being serialized. Writes a SOAP message XML element that contains a reference to a multiRef element for a given object. The local name of the referencing element being written. The namespace of the referencing element being written. The object being serialized. true to write an xsi:nil='true' attribute if the object to serialize is null; otherwise, false. Writes a SOAP 1.2 RPC result element with a specified qualified name in its body. The local name of the result body. The namespace of the result body. Writes an object that uses custom XML formatting as an XML element. An object that implements the interface that uses custom XML formatting. The local name of the XML element to write. The namespace of the XML element to write. true to write an xsi:nil='true' attribute if the class object is null; otherwise, false. Instructs to write an object that uses custom XML formatting as an XML element. An object that implements the interface that uses custom XML formatting. The local name of the XML element to write. The namespace of the XML element to write. true to write an xsi:nil='true' attribute if the object is null; otherwise, false. true to ignore writing the opening element tag; otherwise, false to write the opening element tag. Writes the XML declaration if the writer is positioned at the start of an XML document. Writes an opening element tag, including any attributes. The local name of the XML element to write. Writes an opening element tag, including any attributes. The local name of the XML element to write. The namespace of the XML element to write. Writes an opening element tag, including any attributes. The local name of the XML element to write. The namespace of the XML element to write. true to write the element name with a prefix if none is available for the specified namespace; otherwise, false. Writes an opening element tag, including any attributes. The local name of the XML element to write. The namespace of the XML element to write. The object being serialized as an XML element. Writes an opening element tag, including any attributes. The local name of the XML element to write. The namespace of the XML element to write. The object being serialized as an XML element. true to write the element name with a prefix if none is available for the specified namespace; otherwise, false. Writes an opening element tag, including any attributes. The local name of the XML element to write. The namespace of the XML element to write. The object being serialized as an XML element. true to write the element name with a prefix if none is available for the specified namespace; otherwise, false. An instance of the class that contains prefix and namespace pairs to be used in the generated XML. Writes an XML element whose text body is a value of a simple XML Schema data type. The local name of the element to write. The namespace of the element to write. The object to be serialized in the element body. true if the XML element explicitly specifies the text value's type using the xsi:type attribute; otherwise, false. Writes a base-64 byte array. The byte array to write. Writes a specified string. The string to write. Writes the specified as an XML attribute. An object. Writes the specified object as an XML attribute. An of type. An object (or null) used to generate a qualified name value for an arrayType attribute from the Web Services Description Language (WSDL) namespace ("http://schemas.xmlsoap.org/wsdl/"). Writes an xsi:type attribute for an XML element that is being serialized into a document. The local name of an XML Schema data type. The namespace of an XML Schema data type. Serializes and deserializes objects into and from XML documents. The enables you to control how objects are encoded into XML. Initializes a new instance of the class. Initializes a new instance of the class that can serialize objects of the specified type into XML documents, and deserialize XML documents into objects of the specified type. The type of the object that this can serialize. Initializes a new instance of the class that can serialize objects of the specified type into XML documents, and deserialize XML documents into objects of the specified type. Specifies the default namespace for all the XML elements. The type of the object that this can serialize. The default namespace to use for all the XML elements. Initializes a new instance of the class that can serialize objects of the specified type into XML documents, and deserialize XML documents into object of a specified type. If a property or field returns an array, the parameter specifies objects that can be inserted into the array. The type of the object that this can serialize. A array of additional object types to serialize. Initializes a new instance of the class that can serialize objects of the specified type into XML documents, and deserialize XML documents into objects of the specified type. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes. The type of the object to serialize. An . Initializes a new instance of the class that can serialize objects of type into XML document instances, and deserialize XML document instances into objects of type . Each object to be serialized can itself contain instances of classes, which this overload overrides with other classes. This overload also specifies the default namespace for all the XML elements and the class to use as the XML root element. The type of the object that this can serialize. An that extends or overrides the behavior of the class specified in the parameter. A array of additional object types to serialize. An that defines the XML root element properties. The default namespace of all XML elements in the XML document. Initializes a new instance of the class that can serialize objects of the specified type into XML document instances, and deserialize XML document instances into objects of the specified type. This overload allows you to supply other types that can be encountered during a serialization or deserialization operation, as well as a default namespace for all XML elements, the class to use as the XML root element, its location, and credentials required for access. The type of the object that this can serialize. An that extends or overrides the behavior of the class specified in the parameter. A array of additional object types to serialize. An that defines the XML root element properties. The default namespace of all XML elements in the XML document. The location of the types. An instance of the class that contains credentials required to access types. Initializes a new instance of the class that can serialize objects of the specified type into XML documents, and deserialize an XML document into object of the specified type. It also specifies the class to use as the XML root element. The type of the object that this can serialize. An that represents the XML root element. Initializes an instance of the class using an object that maps one type to another. An that maps one type to another. Gets a value that indicates whether this can deserialize a specified XML document. true if this can deserialize the object that the points to; otherwise, false. An that points to the document to deserialize. Returns an object used to read the XML document to be serialized. An used to read the XML document. Any attempt is made to access the method when the method is not overridden in a descendant class. When overridden in a derived class, returns a writer used to serialize the object. An instance that implements the class. Any attempt is made to access the method when the method is not overridden in a descendant class. Deserializes the XML document contained by the specified . The being deserialized. The that contains the XML document to deserialize. Deserializes the XML document contained by the specified . The being deserialized. The that contains the XML document to deserialize. An error occurred during deserialization. The original exception is available using the property. Deserializes the XML document contained by the specified . The deserialized object. The that contains the XML document to deserialize. Any attempt is made to access the method when the method is not overridden in a descendant class. Deserializes the XML document contained by the specified . The being deserialized. The that contains the XML document to deserialize. An error occurred during deserialization. The original exception is available using the property. Deserializes the XML document contained by the specified and encoding style. The deserialized object. The that contains the XML document to deserialize. The encoding style of the serialized XML. An error occurred during deserialization. The original exception is available using the property. Deserializes the object using the data contained by the specified . The object being deserialized. An instance of the class used to read the document. The encoding used. An instance of the class. Deserializes an XML document contained by the specified and allows the overriding of events that occur during deserialization. The being deserialized. The that contains the document to deserialize. An instance of the class. Returns an array of objects created from an array of objects. An array of objects. An array of that maps one type to another. Returns an instance of the class created from mappings of one XML type to another. An instance of the class. An array of objects used to map one type to another. An instance of the class that contains host and assembly data presented to the common language runtime policy system. Returns an instance of the class from the specified mappings. An instance of the class. An array of objects. The of the deserialized object. Returns an array of objects created from an array of types. An array of objects. An array of objects. Returns an assembly that contains custom-made serializers used to serialize or deserialize the specified type or types, using the specified mappings. An object that contains serializers for the supplied types and mappings. A collection of types. A collection of objects used to convert one type to another. Returns an assembly that contains custom-made serializers used to serialize or deserialize the specified type or types, using the specified mappings and compiler settings and options. An that contains special versions of the . An array of type that contains objects used to serialize and deserialize data. An array of type that maps the XML data to the type data. An instance of the class that represents the parameters used to invoke a compiler. Returns the name of the assembly that contains one or more versions of the especially created to serialize or deserialize the specified type. The name of the assembly that contains an for the type. The you are deserializing. Returns the name of the assembly that contains the serializer for the specified type in the specified namespace. The name of the assembly that contains specially built serializers. The you are interested in. The namespace of the type. Serializes the specified and writes the XML document to a file using the specified . The used to write the XML document. The to serialize. An error occurred during serialization. The original exception is available using the property. Serializes the specified and writes the XML document to a file using the specified that references the specified namespaces. The used to write the XML document. The to serialize. The referenced by the object. An error occurred during serialization. The original exception is available using the property. Serializes the specified and writes the XML document to a file using the specified . The used to write the XML document. The to serialize. Serializes the specified and writes the XML document to a file using the specified and references the specified namespaces. The used to write the XML document. The to serialize. The that contains namespaces for the generated XML document. An error occurred during serialization. The original exception is available using the property. Serializes the specified and writes the XML document to a file using the specified . The to serialize. The used to write the XML document. Any attempt is made to access the method when the method is not overridden in a descendant class. Serializes the specified and writes the XML document to a file using the specified . The used to write the XML document. The to serialize. An error occurred during serialization. The original exception is available using the property. Serializes the specified and writes the XML document to a file using the specified and references the specified namespaces. The used to write the XML document. The to serialize. The referenced by the object. An error occurred during serialization. The original exception is available using the property. Serializes the specified object and writes the XML document to a file using the specified and references the specified namespaces and encoding style. The used to write the XML document. The object to serialize. The referenced by the object. The encoding style of the serialized XML. An error occurred during serialization. The original exception is available using the property. Serializes the specified and writes the XML document to a file using the specified , XML namespaces, and encoding. The used to write the XML document. The object to serialize. An instance of the XmlSerializaerNamespaces that contains namespaces and prefixes to use. The encoding used in the document. For SOAP encoded messages, the base used to generate id attributes. Occurs when the encounters an XML attribute of unknown type during deserialization. Occurs when the encounters an XML element of unknown type during deserialization. Occurs when the encounters an XML node of unknown type during deserialization. Occurs during deserialization of a SOAP-encoded XML stream, when the encounters a recognized type that is not used or is unreferenced. Applied to a Web service client proxy, enables you to specify an assembly that contains custom-made serializers. Initializes a new instance of the class. Initializes a new instance of the class with the specified assembly name. The simple, unencrypted name of the assembly. Initializes a new instance of the class with the specified assembly name and location of the assembly. The simple, unencrypted name of the assembly. A string that is the URL location of the assembly. Gets or sets the name of the assembly that contains serializers for a specific set of types. The simple, unencrypted name of the assembly. Gets or sets the location of the assembly that contains the serializers. A location, such as a path or URI, that points to the assembly. Creates typed versions of the for more efficient serialization. Initializes a new instance of the class. Returns a derivation of the class that is used to serialize the specified type. A derivation of the class that is specifically created to serialize the specified type. The to serialize. Returns a derivation of the class that is used to serialize the specified type and namespace. A derivation of the class that is specifically created to serialize the specified type. The to serialize. The default namespace to use for all the XML elements. Returns a derivation of the class that is used to serialize the specified type. If a property or field returns an array, the parameter specifies objects that can be inserted into the array. A derivation of the . The to serialize. A array of additional object types to serialize. Returns a derivation of the class that can serialize objects of the specified type into XML documents, and vice versa. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes. A derivation of the . The to serialize. An that contains fields that override the default serialization behavior. Returns a derivation of the class that can serialize objects of the specified type into XML document instances, and vice versa. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes. This overload also specifies the default namespace for all the XML elements, and the class to use as the XML root element. A derivation of the . The to serialize. An that contains fields that override the default serialization behavior. A array of additional object types to serialize. An that represents the XML root element. The default namespace of all XML elements in the XML document. Returns a derivation of the class that can serialize objects of the specified type into XML document instances, and vice versa. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes. This overload also specifies the default namespace for all the XML elements, and the class to use as the XML root element. A derivation of the . The of the object that this can serialize. An that extends or overrides the behavior of the class specified in the type parameter. A array of additional object types to serialize. An that defines the XML root element properties. The default namespace of all XML elements in the XML document. The path that specifies the location of the types. An instance of the class that contains credentials needed to access types. Returns a derivation of the class that can serialize objects of the specified type into XML documents, and vice versa. Specifies the object that represents the XML root element. A derivation of the . The to serialize. An that represents the XML root element. Returns a derivation of the class using an object that maps one type to another. A derivation of the class that is specifically created to serialize the mapped type. An that maps one type to another. Defines the reader, writer, and methods for pre-generated, typed serializers. Initializes a new instance of the class. Gets a value that determines whether a type can be serialized. true if the type can be serialized; otherwise, false. The to be serialized. Returns a serializer for the specified type. An instance of a type derived from the class. The to be serialized. Gets the XML reader object that is used by the serializer. An that is used to read an XML document or data stream. Gets the collection of methods that is used to read a data stream. A that contains the methods. Gets the collection of typed serializers that is found in the assembly. A that contains the typed serializers. Get the collection of methods that is used to write to a data stream. A that contains the methods. Gets the XML writer object for the serializer. An that is used to write to an XML data stream or document. Contains the XML namespaces and prefixes that the uses to generate qualified names in an XML-document instance. Initializes a new instance of the class. Initializes a new instance of the class, using the specified instance of XmlSerializerNamespaces containing the collection of prefix and namespace pairs. An instance of the containing the namespace and prefix pairs. Initializes a new instance of the class. An array of objects. Adds a prefix and namespace pair to an object. The prefix associated with an XML namespace. An XML namespace. Gets the number of prefix and namespace pairs in the collection. The number of prefix and namespace pairs in the collection. Gets the array of prefix and namespace pairs in an object. An array of objects that are used as qualified names in an XML document. Signifies that the code was generated by the serialization infrastructure and can be reused for increased performance, when this attribute is applied to an assembly. Initializes a new instance of the class. Initializes a new instance of the class for the specified type. The type that is being serialized. Gets or sets the common language runtime (CLR) namespace of the assembly. A containing the common language runtime (CLR) namespace of the assembly. Gets or sets the identity of the parent assembly. The version of the parent assembly. Gets or sets the type that the serializer operates on. The to be serialized. Gets or sets the assembly's version number. The version of the assembly. Indicates to the that the member must be treated as XML text when the class that contains it is serialized or deserialized. Initializes a new instance of the class. Initializes a new instance of the class. The of the member to be serialized. Gets or sets the XML Schema definition language (XSD) data type of the text generated by the . An XML Schema (XSD) data type, as defined by the World Wide Web Consortium (www.w3.org) document "XML Schema Part 2: Datatypes". The XML Schema data type you have specified cannot be mapped to the .NET data type. The XML Schema data type you have specified is invalid for the property and cannot be converted to the member type. Gets or sets the type of the member. The of the member. Controls the XML schema that is generated when the attribute target is serialized by the . Initializes a new instance of the class. Initializes a new instance of the class and specifies the name of the XML type. The name of the XML type that the generates when it serializes the class instance (and recognizes when it deserializes the class instance). Gets or sets a value that determines whether the resulting schema type is an XSD anonymous type. true, if the resulting schema type is an XSD anonymous type; otherwise, false. Gets or sets a value that indicates whether to include the type in XML schema documents. true to include the type in XML schema documents; otherwise, false. Gets or sets the namespace of the XML type. The namespace of the XML type. Gets or sets the name of the XML type. The name of the XML type. Contains a mapping of one type to another. The fully qualified type name that includes the namespace (or namespaces) and type. The fully qualified type name. Gets the type name of the mapped object. The type name of the mapped object. Gets the XML element name of the mapped object. The XML element name of the mapped object. The default is the class name of the object. Gets the XML namespace of the mapped object. The XML namespace of the mapped object. The default is an empty string (""). Gets a collection of declarations, specifying derived types. A that contains the attributes. Gets the unqualified name of the XML Schema element that represents a SOAP message for which .NET Framework type mapping information is being provided. Gets the XML Schema element name. Gets the XML namespace of the XML schema element that represents a SOAP message for which .NET Framework type mapping information is being provided. The XML namespace of the schema element. Allows you to customize the code generated from a Web Services Description Language (WSDL) document when using automated query tools. Initializes a new instance of the class. Handles the importation of the <xsd:any> elements in the schema. The name of the CLR type that the element maps to. An that represents the xsd:any element found in the XML Schema Document (XSD). A that indicates whether the XSD complex attribute has been set to "mixed". true, if the attribute has been set to mixed, otherwise false. An that contains the collection of schemas found in the XSD. The that is the importer being used. A to which you can add CodeDOM structures to generate alternative code for the XSD. A that represents the current namespace for the element. A for the setting options on the code compiler. A that is the CodeDOM provider used to generate the new code. Allows you to specify the default value for the XSD type being imported. A setting the new default value. The value found in the original XSD. The XSD type name. Allows you to manipulate the code generated by examining the imported schema and specifying the CLR type that it maps to. The name of the CLR type that this maps to. The name of the element. The namespace of the element. An that represents schema information, such as the line number of the XML element. An that contains the collection of schemas in the document. The that is the importer being used. A to which you can add CodeDOM structures to generate alternative code for the XSD. A that represents the current namespace for the element. A for the setting options on the code compiler. A that is used to generate the new code. Allows you to manipulate the code generated by examining the imported schema and specifying the CLR type that it maps to. The name of the CLR type that this maps to. An that represents the XSD type. An that represents schema information, such as the line number of the XML element. An that contains the collection of schemas in the document. The that is the importer being used. A to which you can add CodeDOM structures to generate alternative code for the XSD. A that represents the current namespace for the element. A for the setting options on the code compiler. A that is used to generate the new code. Represents a collection of objects. Initializes a new instance of the class. Adds the specified importer extension to the collection. The name parameter allows you to supply a custom name for the extension. The index of the newly added item. A custom name for the extension. The to add. The value of type does not inherit from . Adds the specified importer extension to the collection. The index of the added extension. The to add. Clears the collection of importer extensions. Gets a value that indicates whether the specified importer extension exists in the collection. true if the extension is found; otherwise, false. The to search for. Copies all the elements of the current to the specified array of objects at the specified index. The to copy the current collection to. The zero-based index at which the collection is added. Searches for the specified item and returns the zero-based index of the first occurrence within the collection. The index of the found item. The to search for. Inserts the specified into the collection at the specified index. The zero-base index at which the should be inserted. The to insert. Gets the at the specified index. The at the specified index. The index of the item to find. Removes the , specified by name, from the collection. The name of the to remove. The name is set using the method. Removes the specified from the collection. The to remove. Handles configuration settings for XML serialization of instances. Initializes a new instance of the class. Gets or sets a value that determines the serialization format. One of the values. Determines XML serialization format of objects. Same as Roundtrip. The serializer examines individual instances to determine the serialization format: UTC, local, or unspecified. The serializer formats all objects as local time. This is for version 1.0 and 1.1 compatibility. Handles the configuration for the class. This class cannot be inherited. Initializes a new instance of the class. Initializes a new instance of the class and specifies the name and type of the extension. The name of the new extension. The name must be unique. The type of the new extension, specified as a string. Initializes a new instance of the class using the specified name and type. The name of the new extension. The name must be unique. The of the new extension. Gets or sets the name of the extension. The name of the extension. Gets or sets the type of the extension. A type of the extension. Handles the XML elements used to configure the operation of the . This class cannot be inherited. Initializes a new instance of the class. Adds an item to the end of the collection. The to add to the collection. Removes all items from the collection. Returns the zero-based index of the first element in the collection with the specified value. The index of the found element. The to find. Gets or sets the object that represents the XML element at the specified index. The at the specified index. The zero-based index of the XML element to get or set. is less than zero.-or- is equal to or greater than Count. Gets or sets the item with the specified name. The with the specified name. The name of the item to get or set. Removes the item with the specified name from the collection. The name of the item to remove. Removes the first occurrence of a specific item from the collection. The to remove. Removes the item at the specified index from the collection. The index of the object to remove. Handles the configuration for the class. This class cannot be inherited. Initializes a new instance of the class. Gets the object that represents the collection of extensions. A that contains the objects that represent configuration elements. Handles the XML elements used to configure XML serialization. Initializes a new instance of the class. Gets the object that represents the serialization configuration element. The object that represents the configuration element. Gets the object that represents the section that contains configuration elements for the . The that represents the schemaImporterExtenstion element in the configuration file. Gets the object that represents the configuration group for the . The that represents the . Handles the XML elements used to configure XML serialization. Initializes a new instance of the class. Gets or sets a value that determines whether an additional check of progress of the is done. true if the check is made; otherwise, false. The default is true. Validates the rules governing the use of the tempFilesLocation configuration switch. Initializes a new instance of the class. Determines whether the type of the object can be validated. true if the parameter matches a valid XMLSerializer object; otherwise, false. The type of the object. Determines whether the value of an object is valid. The value of an object. Provides an accessor to the class. Returns a new object. An object. Specifies the sort order for uppercase and lowercase letters. Ignore the case. Uppercase letters are sorted before lowercase letters. Lowercase letters are sorted before uppercase letters. Specifies the data type used to determine sort order. Values are sorted alphabetically. Values are sorted numerically. Specifies the sort order. Nodes are sorted in ascending order. For example, if the numbers 1,2,3, and 4 are sorted in ascending order, they appear as 1,2,3,4. Nodes are sorted in descending order. For example, if the numbers 1,2,3, and 4 are sorted in descending order, they appear as, 4,3,2,1. Provides a fast, read-only, in-memory representation of an XML document by using the XPath data model. Initializes a new instance of the class from the XML data in the specified object. The object that contains the XML data. An error was encountered in the XML data. The remains empty. The object passed as a parameter is null. Initializes a new instance of the class from the XML data that is contained in the specified object. The object that contains the XML data. An error was encountered in the XML data. The remains empty. The object passed as a parameter is null. Initializes a new instance of the class from the XML data in the specified file. The path of the file that contains the XML data. An error was encountered in the XML data. The remains empty. The file path parameter is null. Initializes a new instance of the class from the XML data in the file specified with the white space handling specified. The path of the file that contains the XML data. An object. An error was encountered in the XML data. The remains empty. The file path parameter or object parameter is null. Initializes a new instance of the class from the XML data that is contained in the specified object. The object that contains the XML data. An error was encountered in the XML data. The remains empty. The object passed as a parameter is null. Initializes a new instance of the class from the XML data that is contained in the specified object with the specified white space handling. The object that contains the XML data. An object. An error was encountered in the XML data. The remains empty. The object parameter or object parameter is null. Initializes a read-only object for navigating through nodes in this . A read-only object. Provides the exception thrown when an error occurs while processing an XPath expression. Initializes a new instance of the class. Uses the information in the and objects to initialize a new instance of the class. The object that contains all the properties of an . The object. Initializes a new instance of the class with the specified exception message. The description of the error condition. Initializes a new instance of the class using the specified exception message and object. The description of the error condition. The that threw the , if any. This value can be null. Streams all the properties into the class for the specified . The object. The object. Gets the description of the error condition for this exception. The string description of the error condition for this exception. Provides a typed class that represents a compiled XPath expression. When overridden in a derived class, sorts the nodes selected by the XPath expression according to the specified object. An object representing the sort key. This can be the string value of the node or an object with a compiled XPath expression. An object that provides the specific data type comparisons for comparing two objects for equivalence. The or sort key includes a prefix and either an is not provided, or the prefix cannot be found in the supplied . When overridden in a derived class, sorts the nodes selected by the XPath expression according to the supplied parameters. An object representing the sort key. This can be the string value of the node or an object with a compiled XPath expression. An value indicating the sort order. An value indicating how to sort uppercase and lowercase letters. The language to use for comparison. Uses the class that can be passed to the method for the language types, for example, "us-en" for U.S. English. If an empty string is specified, the system environment is used to determine the . An value indicating the sort order for the data type. The or sort key includes a prefix and either an is not provided, or the prefix cannot be found in the supplied . When overridden in a derived class, returns a clone of this . A new object. Compiles the XPath expression specified and returns an object representing the XPath expression. An object. An XPath expression. The XPath expression parameter is not a valid XPath expression. The XPath expression is not valid. Compiles the specified XPath expression, with the object specified for namespace resolution, and returns an object that represents the XPath expression. An object. An XPath expression. An object that implements the interface for namespace resolution. The XPath expression parameter is not a valid XPath expression. The XPath expression is not valid. When overridden in a derived class, gets a string representation of the . A string representation of the . When overridden in a derived class, gets the result type of the XPath expression. An value representing the result type of the XPath expression. When overridden in a derived class, specifies the object to use for namespace resolution. An object that implements the interface to use for namespace resolution. The object parameter is not derived from . When overridden in a derived class, specifies the object to use for namespace resolution. An object to use for namespace resolution. The object parameter is not derived from the class. Represents an item in the XQuery 1.0 and XPath 2.0 Data Model. Initializes a new instance of the class. When overridden in a derived class, gets a value indicating whether the item represents an XPath node or an atomic value. true if the item represents an XPath node; false if the item represents an atomic value. When overridden in a derived class, gets the current item as a boxed object of the most appropriate .NET Framework version 2.0 type according to its schema type. The current item as a boxed object of the most appropriate .NET Framework type. When overridden in a derived class, gets the string value of the item. The string value of the item. Returns the item's value as the specified type. The value of the item as the type requested. The type to return the item value as. The item's value is not in the correct format for the target type. The attempted cast is not valid. The attempted cast resulted in an overflow. When overridden in a derived class, returns the item's value as the type specified using the object specified to resolve namespace prefixes. The value of the item as the type requested. The type to return the item's value as. The object used to resolve namespace prefixes. The item's value is not in the correct format for the target type. The attempted cast is not valid. The attempted cast resulted in an overflow. When overridden in a derived class, gets the item's value as a . The item's value as a . The item's value is not in the correct format for the type. The attempted cast to is not valid. When overridden in a derived class, gets the item's value as a . The item's value as a . The item's value is not in the correct format for the type. The attempted cast to is not valid. When overridden in a derived class, gets the item's value as a . The item's value as a . The item's value is not in the correct format for the type. The attempted cast to is not valid. The attempted cast resulted in an overflow. When overridden in a derived class, gets the item's value as an . The item's value as an . The item's value is not in the correct format for the type. The attempted cast to is not valid. The attempted cast resulted in an overflow. When overridden in a derived class, gets the item's value as an . The item's value as an . The item's value is not in the correct format for the type. The attempted cast to is not valid. The attempted cast resulted in an overflow. When overridden in a derived class, gets the .NET Framework version 2.0 type of the item. The .NET Framework type of the item. The default value is . When overridden in a derived class, gets the for the item. The for the item. Defines the namespace scope. Returns all namespaces defined in the scope of the current node. This includes the xmlns:xml namespace which is always declared implicitly. The order of the namespaces returned is not defined. Returns all namespaces defined in the scope of the current node, excluding the xmlns:xml namespace. The xmlns:xml namespace is always declared implicitly. The order of the namespaces returned is not defined. Returns all namespaces that are defined locally at the current node. Provides a cursor model for navigating and editing XML data. Initializes a new instance of the class. Returns an object used to create one or more new child nodes at the end of the list of child nodes of the current node. An object used to create new child nodes at the end of the list of child nodes of the current node. The current node the is positioned on is not the root node or an element node. The does not support editing. Creates a new child node at the end of the list of child nodes of the current node using the XML data string specified. The XML data string for the new child node. The XML data string parameter is null. The current node the is positioned on is not the root node or an element node. The does not support editing. The XML data string parameter is not well-formed. Creates a new child node at the end of the list of child nodes of the current node using the XML contents of the object specified. An object positioned on the XML data for the new child node. The object is in an error state or closed. The object parameter is null. The current node the is positioned on is not the root node or an element node. The does not support editing. The XML contents of the object parameter is not well-formed. Creates a new child node at the end of the list of child nodes of the current node using the nodes in the specified. An object positioned on the node to add as the new child node. The object parameter is null. The current node the is positioned on is not the root node or an element node. The does not support editing. Creates a new child element node at the end of the list of child nodes of the current node using the namespace prefix, local name and namespace URI specified with the value specified. The namespace prefix of the new child element node (if any). The local name of the new child element node (if any). The namespace URI of the new child element node (if any). and null are equivalent. The value of the new child element node. If or null are passed, an empty element is created. The current node the is positioned on is not the root node or an element node. The does not support editing. When overridden in a derived class, gets the base URI for the current node. The location from which the node was loaded, or if there is no value. Gets a value indicating whether the can edit the underlying XML data. true if the can edit the underlying XML data; otherwise false. Verifies that the XML data in the conforms to the XML Schema definition language (XSD) schema provided. true if no schema validation errors occurred; otherwise, false. The containing the schemas used to validate the XML data contained in the . The that receives information about schema validation warnings and errors. A schema validation error occurred, and no was specified to handle validation errors. The is positioned on a node that is not an element, attribute, or the root node or there is not type information to perform validation. The method was called with an parameter when the was not positioned on the root node of the XML data. When overridden in a derived class, creates a new positioned at the same node as this . A new positioned at the same node as this . Compares the position of the current with the position of the specified. An value representing the comparative position of the two objects. The to compare against. Compiles a string representing an XPath expression and returns an object. An object representing the XPath expression. A string representing an XPath expression. The parameter contains an XPath expression that is not valid. The XPath expression is not valid. Creates an attribute node on the current element node using the namespace prefix, local name and namespace URI specified with the value specified. The namespace prefix of the new attribute node (if any). The local name of the new attribute node which cannot or null. The namespace URI for the new attribute node (if any). The value of the new attribute node. If or null are passed, an empty attribute node is created. The is not positioned on an element node. The does not support editing. Returns an object used to create new attributes on the current element. An object used to create new attributes on the current element. The is not positioned on an element node. The does not support editing. Returns a copy of the . An copy of this . Deletes a range of sibling nodes from the current node to the node specified. An positioned on the last sibling node in the range to delete. The specified is null. The does not support editing. The last node to delete specified is not a valid sibling node of the current node. Deletes the current node and its child nodes. The is positioned on a node that cannot be deleted such as the root node or a namespace node. The does not support editing. Evaluates the specified XPath expression and returns the typed result. The result of the expression (Boolean, number, string, or node set). This maps to , , , or objects respectively. A string representing an XPath expression that can be evaluated. The return type of the XPath expression is a node set. The XPath expression is not valid. Evaluates the specified XPath expression and returns the typed result, using the object specified to resolve namespace prefixes in the XPath expression. The result of the expression (Boolean, number, string, or node set). This maps to , , , or objects respectively. A string representing an XPath expression that can be evaluated. The object used to resolve namespace prefixes in the XPath expression. The return type of the XPath expression is a node set. The XPath expression is not valid. Evaluates the and returns the typed result. The result of the expression (Boolean, number, string, or node set). This maps to , , , or objects respectively. An that can be evaluated. The return type of the XPath expression is a node set. The XPath expression is not valid. Uses the supplied context to evaluate the , and returns the typed result. The result of the expression (Boolean, number, string, or node set). This maps to , , , or objects respectively. An that can be evaluated. An that points to the selected node set that the evaluation is to be performed on. The return type of the XPath expression is a node set. The XPath expression is not valid. Gets the value of the attribute with the specified local name and namespace URI. A that contains the value of the specified attribute; if a matching attribute is not found, or if the is not positioned on an element node. The local name of the attribute. The namespace URI of the attribute. Returns the value of the namespace node corresponding to the specified local name. A that contains the value of the namespace node; if a matching namespace node is not found, or if the is not positioned on an element node. The local name of the namespace node. Returns the in-scope namespaces of the current node. An collection of namespace names keyed by prefix. An value specifying the namespaces to return. Gets a value indicating whether the current node has any attributes. Returns true if the current node has attributes; returns false if the current node has no attributes, or if the is not positioned on an element node. Gets a value indicating whether the current node has any child nodes. Returns true if the current node has any child nodes; otherwise, false. Gets or sets the markup representing the child nodes of the current node. A that contains the markup of the child nodes of the current node. The property cannot be set. Returns an object used to create a new sibling node after the currently selected node. An object used to create a new sibling node after the currently selected node. The position of the does not allow a new sibling node to be inserted after the current node. The does not support editing. Creates a new sibling node after the currently selected node using the XML string specified. The XML data string for the new sibling node. The XML string parameter is null. The position of the does not allow a new sibling node to be inserted after the current node. The does not support editing. The XML string parameter is not well-formed. Creates a new sibling node after the currently selected node using the XML contents of the object specified. An object positioned on the XML data for the new sibling node. The object is in an error state or closed. The object parameter is null. The position of the does not allow a new sibling node to be inserted after the current node. The does not support editing. The XML contents of the object parameter is not well-formed. Creates a new sibling node after the currently selected node using the nodes in the object specified. An object positioned on the node to add as the new sibling node. The object parameter is null. The position of the does not allow a new sibling node to be inserted after the current node. The does not support editing. Returns an object used to create a new sibling node before the currently selected node. An object used to create a new sibling node before the currently selected node. The position of the does not allow a new sibling node to be inserted before the current node. The does not support editing. Creates a new sibling node before the currently selected node using the XML string specified. The XML data string for the new sibling node. The XML string parameter is null. The position of the does not allow a new sibling node to be inserted before the current node. The does not support editing. The XML string parameter is not well-formed. Creates a new sibling node before the currently selected node using the XML contents of the object specified. An object positioned on the XML data for the new sibling node. The object is in an error state or closed. The object parameter is null. The position of the does not allow a new sibling node to be inserted before the current node. The does not support editing. The XML contents of the object parameter is not well-formed. Creates a new sibling node before the currently selected node using the nodes in the specified. An object positioned on the node to add as the new sibling node. The object parameter is null. The position of the does not allow a new sibling node to be inserted before the current node. The does not support editing. Creates a new sibling element after the current node using the namespace prefix, local name and namespace URI specified, with the value specified. The namespace prefix of the new child element (if any). The local name of the new child element (if any). The namespace URI of the new child element (if any). and null are equivalent. The value of the new child element. If or null are passed, an empty element is created. The position of the does not allow a new sibling node to be inserted after the current node. The does not support editing. Creates a new sibling element before the current node using the namespace prefix, local name, and namespace URI specified, with the value specified. The namespace prefix of the new child element (if any). The local name of the new child element (if any). The namespace URI of the new child element (if any). and null are equivalent. The value of the new child element. If or null are passed, an empty element is created. The position of the does not allow a new sibling node to be inserted before the current node. The does not support editing. Determines whether the specified is a descendant of the current . Returns true if the specified is a descendant of the current ; otherwise, false. The to compare to this . When overridden in a derived class, gets a value indicating whether the current node is an empty element without an end element tag. Returns true if the current node is an empty element; otherwise, false. Gets a value indicating if the current node represents an XPath node. Always returns true. When overridden in a derived class, determines whether the current is at the same position as the specified . Returns true if the two objects have the same position; otherwise, false. The to compare to this . When overridden in a derived class, gets the of the current node without any namespace prefix. A that contains the local name of the current node, or if the current node does not have a name (for example, text or comment nodes). Gets the namespace URI for the specified prefix. A that contains the namespace URI assigned to the namespace prefix specified; null if no namespace URI is assigned to the prefix specified. The returned is atomized. The prefix whose namespace URI you want to resolve. To match the default namespace, pass . Gets the prefix declared for the specified namespace URI. A that contains the namespace prefix assigned to the namespace URI specified; otherwise, if no prefix is assigned to the namespace URI specified. The returned is atomized. The namespace URI to resolve for the prefix. Determines whether the current node matches the specified XPath expression. Returns true if the current node matches the specified XPath expression; otherwise, false. The XPath expression. The XPath expression cannot be evaluated. The XPath expression is not valid. Determines whether the current node matches the specified . Returns true if the current node matches the ; otherwise, false. An object containing the compiled XPath expression. The XPath expression cannot be evaluated. The XPath expression is not valid. When overridden in a derived class, moves the to the same position as the specified . Returns true if the is successful moving to the same position as the specified ; otherwise, false. If false, the position of the is unchanged. The positioned on the node that you want to move to. Moves the to the attribute with the matching local name and namespace URI. Returns true if the is successful moving to the attribute; otherwise, false. If false, the position of the is unchanged. The local name of the attribute. The namespace URI of the attribute; null for an empty namespace. Moves the to the child node with the local name and namespace URI specified. Returns true if the is successful moving to the child node; otherwise, false. If false, the position of the is unchanged. The local name of the child node to move to. The namespace URI of the child node to move to. Moves the to the child node of the specified. Returns true if the is successful moving to the child node; otherwise, false. If false, the position of the is unchanged. The of the child node to move to. Moves the to the first sibling node of the current node. Returns true if the is successful moving to the first sibling node of the current node; false if there is no first sibling, or if the is currently positioned on an attribute node. If the is already positioned on the first sibling, will return true and will not move its position.If returns false because there is no first sibling, or if is currently positioned on an attribute, the position of the is unchanged. When overridden in a derived class, moves the to the first attribute of the current node. Returns true if the is successful moving to the first attribute of the current node; otherwise, false. If false, the position of the is unchanged. When overridden in a derived class, moves the to the first child node of the current node. Returns true if the is successful moving to the first child node of the current node; otherwise, false. If false, the position of the is unchanged. Moves the to first namespace node of the current node. Returns true if the is successful moving to the first namespace node; otherwise, false. If false, the position of the is unchanged. When overridden in a derived class, moves the to the first namespace node that matches the specified. Returns true if the is successful moving to the first namespace node; otherwise, false. If false, the position of the is unchanged. An value describing the namespace scope. Moves the to the element with the local name and namespace URI specified in document order. true if the moved successfully; otherwise false. The local name of the element. The namespace URI of the element. Moves the to the element with the local name and namespace URI specified, to the boundary specified, in document order. true if the moved successfully; otherwise false. The local name of the element. The namespace URI of the element. The object positioned on the element boundary which the current will not move past while searching for the following element. Moves the to the following element of the specified in document order. true if the moved successfully; otherwise false. The of the element. The cannot be or . Moves the to the following element of the specified, to the boundary specified, in document order. true if the moved successfully; otherwise false. The of the element. The cannot be or . The object positioned on the element boundary which the current will not move past while searching for the following element. When overridden in a derived class, moves to the node that has an attribute of type ID whose value matches the specified . true if the is successful moving; otherwise, false. If false, the position of the navigator is unchanged. A representing the ID value of the node to which you want to move. Moves the to the namespace node with the specified namespace prefix. true if the is successful moving to the specified namespace; false if a matching namespace node was not found, or if the is not positioned on an element node. If false, the position of the is unchanged. The namespace prefix of the namespace node. When overridden in a derived class, moves the to the next sibling node of the current node. true if the is successful moving to the next sibling node; otherwise, false if there are no more siblings or if the is currently positioned on an attribute node. If false, the position of the is unchanged. Moves the to the next sibling node with the local name and namespace URI specified. Returns true if the is successful moving to the next sibling node; false if there are no more siblings, or if the is currently positioned on an attribute node. If false, the position of the is unchanged. The local name of the next sibling node to move to. The namespace URI of the next sibling node to move to. Moves the to the next sibling node of the current node that matches the specified. true if the is successful moving to the next sibling node; otherwise, false if there are no more siblings or if the is currently positioned on an attribute node. If false, the position of the is unchanged. The of the sibling node to move to. When overridden in a derived class, moves the to the next attribute. Returns true if the is successful moving to the next attribute; false if there are no more attributes. If false, the position of the is unchanged. Moves the to the next namespace node. Returns true if the is successful moving to the next namespace node; otherwise, false. If false, the position of the is unchanged. When overridden in a derived class, moves the to the next namespace node matching the specified. Returns true if the is successful moving to the next namespace node; otherwise, false. If false, the position of the is unchanged. An value describing the namespace scope. When overridden in a derived class, moves the to the parent node of the current node. Returns true if the is successful moving to the parent node of the current node; otherwise, false. If false, the position of the is unchanged. When overridden in a derived class, moves the to the previous sibling node of the current node. Returns true if the is successful moving to the previous sibling node; otherwise, false if there is no previous sibling node or if the is currently positioned on an attribute node. If false, the position of the is unchanged. Moves the to the root node that the current node belongs to. When overridden in a derived class, gets the qualified name of the current node. A that contains the qualified of the current node, or if the current node does not have a name (for example, text or comment nodes). When overridden in a derived class, gets the namespace URI of the current node. A that contains the namespace URI of the current node, or if the current node has no namespace URI. When overridden in a derived class, gets the of the . An object enabling you to get the atomized version of a within the XML document. Gets an used for equality comparison of objects. An used for equality comparison of objects. When overridden in a derived class, gets the of the current node. One of the values representing the current node. Gets or sets the markup representing the opening and closing tags of the current node and its child nodes. A that contains the markup representing the opening and closing tags of the current node and its child nodes. When overridden in a derived class, gets the namespace prefix associated with the current node. A that contains the namespace prefix associated with the current node. Returns an object used to create a new child node at the beginning of the list of child nodes of the current node. An object used to create a new child node at the beginning of the list of child nodes of the current node. The current node the is positioned on does not allow a new child node to be prepended. The does not support editing. Creates a new child node at the beginning of the list of child nodes of the current node using the XML string specified. The XML data string for the new child node. The XML string parameter is null. The current node the is positioned on does not allow a new child node to be prepended. The does not support editing. The XML string parameter is not well-formed. Creates a new child node at the beginning of the list of child nodes of the current node using the XML contents of the object specified. An object positioned on the XML data for the new child node. The object is in an error state or closed. The object parameter is null. The current node the is positioned on does not allow a new child node to be prepended. The does not support editing. The XML contents of the object parameter is not well-formed. Creates a new child node at the beginning of the list of child nodes of the current node using the nodes in the object specified. An object positioned on the node to add as the new child node. The object parameter is null. The current node the is positioned on does not allow a new child node to be prepended. The does not support editing. Creates a new child element at the beginning of the list of child nodes of the current node using the namespace prefix, local name, and namespace URI specified with the value specified. The namespace prefix of the new child element (if any). The local name of the new child element (if any). The namespace URI of the new child element (if any). and null are equivalent. The value of the new child element. If or null are passed, an empty element is created. The current node the is positioned on does not allow a new child node to be prepended. The does not support editing. Returns an object that contains the current node and its child nodes. An object that contains the current node and its child nodes. The is not positioned on an element node or the root node. Replaces a range of sibling nodes from the current node to the node specified. An object used to specify the replacement range. An positioned on the last sibling node in the range to replace. The specified is null. The does not support editing. The last node to replace specified is not a valid sibling node of the current node. Replaces the current node with the content of the string specified. The XML data string for the new node. The XML string parameter is null. The is not positioned on an element, text, processing instruction, or comment node. The does not support editing. The XML string parameter is not well-formed. Replaces the current node with the contents of the object specified. An object positioned on the XML data for the new node. The object is in an error state or closed. The object parameter is null. The is not positioned on an element, text, processing instruction, or comment node. The does not support editing. The XML contents of the object parameter is not well-formed. Replaces the current node with the contents of the object specified. An object positioned on the new node. The object parameter is null. The is not positioned on an element, text, processing instruction, or comment node. The does not support editing. The XML contents of the object parameter is not well-formed. Gets the schema information that has been assigned to the current node as a result of schema validation. An object that contains the schema information for the current node. Selects a node set, using the specified XPath expression. An pointing to the selected node set. A representing an XPath expression. The XPath expression contains an error or its return type is not a node set. The XPath expression is not valid. Selects a node set using the specified XPath expression with the object specified to resolve namespace prefixes. An that points to the selected node set. A representing an XPath expression. The object used to resolve namespace prefixes. The XPath expression contains an error or its return type is not a node set. The XPath expression is not valid. Selects a node set using the specified . An that points to the selected node set. An object containing the compiled XPath query. The XPath expression contains an error or its return type is not a node set. The XPath expression is not valid. Selects all the ancestor nodes of the current node that have the specified local name and namespace URI. An that contains the selected nodes. The returned nodes are in reverse document order. The local name of the ancestor nodes. The namespace URI of the ancestor nodes. To include the context node in the selection, true; otherwise, false. null cannot be passed as a parameter. Selects all the ancestor nodes of the current node that have a matching . An that contains the selected nodes. The returned nodes are in reverse document order. The of the ancestor nodes. To include the context node in the selection, true; otherwise, false. Selects all the child nodes of the current node that have the local name and namespace URI specified. An that contains the selected nodes. The local name of the child nodes. The namespace URI of the child nodes. null cannot be passed as a parameter. Selects all the child nodes of the current node that have the matching . An that contains the selected nodes. The of the child nodes. Selects all the descendant nodes of the current node with the local name and namespace URI specified. An that contains the selected nodes. The local name of the descendant nodes. The namespace URI of the descendant nodes. true to include the context node in the selection; otherwise, false. null cannot be passed as a parameter. Selects all the descendant nodes of the current node that have a matching . An that contains the selected nodes. The of the descendant nodes. true to include the context node in the selection; otherwise, false. Selects a single node in the using the specified XPath query. An object that contains the first matching node for the XPath query specified; otherwise, null if there are no query results. A representing an XPath expression. An error was encountered in the XPath query or the return type of the XPath expression is not a node. The XPath query is not valid. Selects a single node in the object using the specified XPath query with the object specified to resolve namespace prefixes. An object that contains the first matching node for the XPath query specified; otherwise null if there are no query results. A representing an XPath expression. The object used to resolve namespace prefixes in the XPath query. An error was encountered in the XPath query or the return type of the XPath expression is not a node. The XPath query is not valid. Selects a single node in the using the specified object. An object that contains the first matching node for the XPath query specified; otherwise null if there are no query results. An object containing the compiled XPath query. An error was encountered in the XPath query or the return type of the XPath expression is not a node. The XPath query is not valid. Sets the typed value of the current node. The new typed value of the node. The does not support the type of the object specified. The value specified cannot be null. The is not positioned on an element or attribute node. The does not support editing. Sets the value of the current node. The new value of the node. The value parameter is null. The is positioned on the root node, a namespace node, or the specified value is invalid. The does not support editing. For a description of this member, see . An . Gets the text value of the current node. A string that contains the text value of the current node. Gets the current node as a boxed object of the most appropriate .NET Framework type. The current node as a boxed object of the most appropriate .NET Framework type. Used by implementations which provide a "virtualized" XML view over a store, to provide access to underlying objects. The default is null. Gets the current node's value as the specified, using the object specified to resolve namespace prefixes. The value of the current node as the requested. The to return the current node's value as. The object used to resolve namespace prefixes. The current node's value is not in the correct format for the target type. The attempted cast is not valid. Gets the current node's value as a . The current node's value as a . The current node's string value cannot be converted to a . The attempted cast to is not valid. Gets the current node's value as a . The current node's value as a . The current node's string value cannot be converted to a . The attempted cast to is not valid. Gets the current node's value as a . The current node's value as a . The current node's string value cannot be converted to a . The attempted cast to is not valid. Gets the current node's value as an . The current node's value as an . The current node's string value cannot be converted to a . The attempted cast to is not valid. Gets the current node's value as an . The current node's value as an . The current node's string value cannot be converted to a . The attempted cast to is not valid. Gets the .NET Framework of the current node. The .NET Framework of the current node. The default value is . Streams the current node and its child nodes to the object specified. The object to stream to. Gets the xml:lang scope for the current node. A that contains the value of the xml:lang scope, or if the current node has no xml:lang scope value to return. Gets the information for the current node. An object; default is null. Provides an iterator over a selected set of nodes. Initializes a new instance of the class. When overridden in a derived class, returns a clone of this object. A new object clone of this object. Gets the index of the last node in the selected set of nodes. The int index of the last node in the selected set of nodes, or 0 if there are no selected nodes. When overridden in a derived class, returns the object for this , positioned on the current context node. An object positioned on the context node from which the node set was selected. The method must be called to move the to the first node in the selected set. When overridden in a derived class, gets the index of the current position in the selected set of nodes. The int index of the current position. Returns an object to iterate through the selected node set. An object to iterate through the selected node set. When overridden in a derived class, moves the object returned by the property to the next node in the selected node set. true if the object moved to the next node; false if there are no more selected nodes. For a description of this member, see . An . Defines the XPath node types that can be returned from the class. The root node of the XML document or node tree. An element, such as <element>. An attribute, such as id='123'. A namespace, such as xmlns="namespace". The text content of a node. Equivalent to the Document Object Model (DOM) Text and CDATA node types. Contains at least one character. A node with white space characters and xml:space set to preserve. A node with only white space characters and no significant white space. White space characters are #x20, #x9, #xD, or #xA. A processing instruction, such as <?pi test?>. This does not include XML declarations, which are not visible to the class. A comment, such as <!-- my comment --> Any of the node types. Specifies the return type of the XPath expression. A numeric value. A value. A true or false value. A node collection. A tree fragment. Any of the XPath node types. The expression does not evaluate to the correct XPath type. Provides an interface to a given function defined in the Extensible Stylesheet Language for Transformations (XSLT) style sheet during runtime execution. Gets the supplied XML Path Language (XPath) types for the function's argument list. This information can be used to discover the signature of the function which allows you to differentiate between overloaded functions. An array of representing the types for the function's argument list. Provides the method to invoke the function with the given arguments in the given context. An representing the return value of the function. The XSLT context for the function call. The arguments of the function call. Each argument is an element in the array. The context node for the function call. Gets the maximum number of arguments for the function. This enables the user to differentiate between overloaded functions. The maximum number of arguments for the function. Gets the minimum number of arguments for the function. This enables the user to differentiate between overloaded functions. The minimum number of arguments for the function. Gets the representing the XPath type returned by the function. An representing the XPath type returned by the function Provides an interface to a given variable that is defined in the style sheet during runtime execution. Evaluates the variable at runtime and returns an object that represents the value of the variable. An representing the value of the variable. Possible return types include number, string, Boolean, document fragment, or node set. An representing the execution context of the variable. Gets a value indicating whether the variable is local. true if the variable is a local variable in the current context; otherwise, false. Gets a value indicating whether the variable is an Extensible Stylesheet Language Transformations (XSLT) parameter. This can be a parameter to a style sheet or a template. true if the variable is an XSLT parameter; otherwise, false. Gets the representing the XML Path Language (XPath) type of the variable. The representing the XPath type of the variable. Transforms XML data using an XSLT style sheet. Initializes a new instance of the class. Initializes a new instance of the class with the specified debug setting. true to generate debug information; otherwise false. Setting this to true enables you to debug the style sheet with the Microsoft Visual Studio Debugger. Loads and compiles the style sheet located at the specified URI. The URI of the style sheet. The value is null. The style sheet contains an error. The style sheet cannot be found. The value includes a filename or directory that cannot be found. The value cannot be resolved.-or-An error occurred while processing the request. is not a valid URI. There was a parsing error loading the style sheet. Loads and compiles the XSLT style sheet specified by the URI. The resolves any XSLT import or include elements and the XSLT settings determine the permissions for the style sheet. The URI of the style sheet. The to apply to the style sheet. If this is null, the setting is applied. The used to resolve the style sheet URI and any style sheets referenced in XSLT import and include elements. The or value is null. The style sheet contains an error. The style sheet cannot be found. The value includes a filename or directory that cannot be found. The value cannot be resolved.-or-An error occurred while processing the request. is not a valid URI. There was a parsing error loading the style sheet. Compiles the style sheet contained in the . An containing the style sheet. The value is null. The style sheet contains an error. Compiles the XSLT style sheet contained in the . The resolves any XSLT import or include elements and the XSLT settings determine the permissions for the style sheet. The containing the style sheet. The to apply to the style sheet. If this is null, the setting is applied. The used to resolve any style sheets referenced in XSLT import and include elements. If this is null, external resources are not resolved. The value is null. The style sheet contains an error. Compiles the style sheet contained in the object. An object implementing the interface. In the Microsoft .NET Framework, this can be either an (typically an ), or an containing the style sheet. The value is null. The style sheet contains an error. Compiles the XSLT style sheet contained in the . The resolves any XSLT import or include elements and the XSLT settings determine the permissions for the style sheet. An object implementing the interface. In the Microsoft .NET Framework, this can be either an (typically an ), or an containing the style sheet. The to apply to the style sheet. If this is null, the setting is applied. The used to resolve any style sheets referenced in XSLT import and include elements. If this is null, external resources are not resolved. The value is null. The style sheet contains an error. Gets an object that contains the output information derived from the xsl:output element of the style sheet. A read-only object that contains the output information derived from the xsl:output element of the style sheet. This value can be null. Gets the that contains the temporary files generated on disk after a successful call to the method. The that contains the temporary files generated on disk. This value is null if the method has not been successfully called, or if debugging has not been enabled. Executes the transform using the input document specified by the URI and outputs the results to a file. The URI of the input document. The URI of the output file. The or value is null. There was an error executing the XSLT transform. The input document cannot be found. The or value includes a filename or directory cannot be found. The or value cannot be resolved.-or-An error occurred while processing the request or is not a valid URI. There was a parsing error loading the input document. Executes the transform using the input document specified by the URI and outputs the results to an . The URI of the input document. The to which you want to output.If the style sheet contains an xsl:output element, you should create the using the object returned from the property. This ensures that the has the correct output settings. The or value is null. There was an error executing the XSLT transform. The value includes a filename or directory cannot be found. The value cannot be resolved.-or-An error occurred while processing the request. is not a valid URI. There was a parsing error loading the input document. Executes the transform using the input document specified by the URI and outputs the results to stream. The provides additional run-time arguments. The URI of the input document. An containing the namespace-qualified arguments used as input to the transform. This value can be null. The stream to which you want to output. The or value is null. There was an error executing the XSLT transform. The value includes a filename or directory cannot be found. The value cannot be resolved.-or-An error occurred while processing the request is not a valid URI. There was a parsing error loading the input document. Executes the transform using the input document specified by the URI and outputs the results to a . The URI of the input document. An containing the namespace-qualified arguments used as input to the transform. This value can be null. The to which you want to output. The or value is null. There was an error executing the XSLT transform. The value includes a filename or directory cannot be found. The value cannot be resolved.-or-An error occurred while processing the request is not a valid URI. There was a parsing error loading the input document. Executes the transform using the input document specified by the URI and outputs the results to an . The provides additional run-time arguments. The URI of the input document. An containing the namespace-qualified arguments used as input to the transform. This value can be null. The to which you want to output.If the style sheet contains an xsl:output element, you should create the using the object returned from the property. This ensures that the has the correct output settings. The or value is null. There was an error executing the XSLT transform. The value includes a filename or directory cannot be found. The value cannot be resolved.-or-An error occurred while processing the request. is not a valid URI. There was a parsing error loading the input document. Executes the transform using the input document specified by the object and outputs the results to an . The containing the input document. The to which you want to output.If the style sheet contains an xsl:output element, you should create the using the object returned from the property. This ensures that the has the correct output settings. The or value is null. There was an error executing the XSLT transform. Executes the transform using the input document specified by the object and outputs the results to a stream. The provides additional run-time arguments. An containing the input document. An containing the namespace-qualified arguments used as input to the transform. This value can be null. The stream to which you want to output. The or value is null. There was an error executing the XSLT transform. Executes the transform using the input document specified by the object and outputs the results to a . The provides additional run-time arguments. An containing the input document. An containing the namespace-qualified arguments used as input to the transform. This value can be null. The to which you want to output. The or value is null. There was an error executing the XSLT transform. Executes the transform using the input document specified by the object and outputs the results to an . The provides additional run-time arguments. An containing the input document. An containing the namespace-qualified arguments used as input to the transform. This value can be null. The to which you want to output.If the style sheet contains an xsl:output element, you should create the using the object returned from the property. This ensures that the has the correct output settings. The or value is null. There was an error executing the XSLT transform. Executes the transform using the input document specified by the object and outputs the results to an . The provides additional run-time arguments and the XmlResolver resolves the XSLT document() function. An containing the input document. An containing the namespace-qualified arguments used as input to the transform. This value can be null. The to which you want to output.If the style sheet contains an xsl:output element, you should create the using the object returned from the property. This ensures that the has the correct output settings. The used to resolve the XSLT document() function. If this is null, the document() function is not resolved. The or value is null. There was an error executing the XSLT transform. Executes the transform using the input document specified by the object and outputs the results to an . An object implementing the interface. In the Microsoft .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. The to which you want to output.If the style sheet contains an xsl:output element, you should create the using the object returned from the property. This ensures that the has the correct output settings. The or value is null. There was an error executing the XSLT transform. Executes the transform using the input document specified by the object and outputs the results to a stream. The provides additional runtime arguments. An object implementing the interface. In the Microsoft .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transform. This value can be null. The stream to which you want to output. The or value is null. There was an error executing the XSLT transform. Executes the transform using the input document specified by the object and outputs the results to an . The provides additional run-time arguments. An object implementing the interface. In the Microsoft .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transform. This value can be null. The to which you want to output. The or value is null. There was an error executing the XSLT transform. Executes the transform using the input document specified by the object and outputs the results to an . The provides additional run-time arguments. An object implementing the interface. In the Microsoft .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transform. This value can be null. The to which you want to output.If the style sheet contains an xsl:output element, you should create the using the object returned from the property. This ensures that the has the correct output settings. The or value is null. There was an error executing the XSLT transform. Contains a variable number of arguments which are either XSLT parameters or extension objects. Implements a new instance of the . Adds a new object to the and associates it with the namespace URI. The namespace URI to associate with the object. To use the default namespace, specify an empty string. The object to add to the list. The is either null or http://www.w3.org/1999/XSL/Transform The already has an extension object associated with it. The caller does not have sufficient permissions to call this method. Adds a parameter to the and associates it with the namespace qualified name. The name to associate with the parameter. The namespace URI to associate with the parameter. To use the default namespace, specify an empty string. The parameter value or object to add to the list. The is either null or http://www.w3.org/1999/XSL/Transform.The is not a valid name according to the W3C XML specification.The already has a parameter associated with it. Removes all parameters and extension objects from the . Gets the object associated with the given namespace. The namespace URI object or null if one was not found. The namespace URI of the object. Gets the parameter associated with the namespace qualified name. The parameter object or null if one was not found. The name of the parameter. does not check to ensure the name passed is a valid local name; however, the name cannot be null. The namespace URI associated with the parameter. Removes the object with the namespace URI from the . The object with the namespace URI or null if one was not found. The namespace URI associated with the object to remove. Removes the parameter from the . The parameter object or null if one was not found. The name of the parameter to remove. does not check to ensure the name passed is a valid local name; however, the name cannot be null. The namespace URI of the parameter to remove. Occurs when a message is specified in the style sheet by the xsl:message element. The exception that is thrown by the Load method when an error is found in the XSLT style sheet. Initializes a new instance of the class. Initializes a new instance of the XsltCompileException class. The that threw the XsltCompileException. The location path of the style sheet. The line number indicating where the error occurred in the style sheet. The line position indicating where the error occurred in the style sheet. Initializes a new instance of the XsltCompileException class using the information in the and objects. The SerializationInfo object containing all the properties of an XsltCompileException. The StreamingContext object containing the context information. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class specified error message and a reference to the inner exception that is the cause of this exception. The message that describes the error. The exception that is the cause of the current exception, or null if no inner exception is specified. Streams all the XsltCompileException properties into the class for the given . The SerializationInfo object. The StreamingContext object. Encapsulates the current execution context of the Extensible Stylesheet Language for Transformations (XSLT) processor allowing XML Path Language (XPath) to resolve functions, parameters, and namespaces within XPath expressions. Initializes a new instance of the class. Initializes a new instance of the class with the specified . The to use. When overridden in a derived class, compares the base Uniform Resource Identifiers (URIs) of two documents based upon the order the documents were loaded by the XSLT processor (that is, the class). An integer value describing the relative order of the two base URIs: -1 if occurs before ; 0 if the two base URIs are identical; and 1 if occurs after . The base URI of the first document to compare. The base URI of the second document to compare. When overridden in a derived class, evaluates whether to preserve white space nodes or strip them for the given context. Returns true if the white space is to be preserved or false if the white space is to be stripped. The white space node that is to be preserved or stripped in the current context. When overridden in a derived class, resolves a function reference and returns an representing the function. The is used at execution time to get the return value of the function. An representing the function. The prefix of the function as it appears in the XPath expression. The name of the function. An array of argument types for the function being resolved. This allows you to select between methods with the same name (for example, overloaded methods). When overridden in a derived class, resolves a variable reference and returns an representing the variable. An representing the variable at runtime. The prefix of the variable as it appears in the XPath expression. The name of the variable. When overridden in a derived class, gets a value indicating whether to include white space nodes in the output. true to check white space nodes in the source document for inclusion in the output; false to not evaluate white space nodes. The default is true. The exception that is thrown when an error occurs while processing an XSLT transformation. Initializes a new instance of the class. Initializes a new instance of the XsltException class using the information in the and objects. The SerializationInfo object containing all the properties of an XsltException. The StreamingContext object. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the XsltException class. The description of the error condition. The which threw the XsltException, if any. This value can be null. Streams all the XsltException properties into the class for the given . The SerializationInfo object. The StreamingContext object. Gets the line number indicating where the error occurred in the style sheet. The line number indicating where the error occurred in the style sheet. Gets the line position indicating where the error occurred in the style sheet. The line position indicating where the error occurred in the style sheet. Gets the formatted error message describing the current exception. The formatted error message describing the current exception. Gets the location path of the style sheet. The location path of the style sheet. Provides data for the event. Initializes a new instance of the class. Gets the contents of the xsl:message element. The contents of the xsl:message element. Represents the method that will handle the event. The source of the event. The containing the event data. Transforms XML data using an Extensible Stylesheet Language for Transformations (XSLT) style sheet. Initializes a new instance of the class. Loads the XSLT style sheet specified by a URL. The URL that specifies the XSLT style sheet to load. The loaded resource is not a valid style sheet. The style sheet contains embedded script, and the caller does not have UnmanagedCode permission. Loads the XSLT style sheet specified by a URL. The URL that specifies the XSLT style sheet to load. The to use to load the style sheet and any style sheet(s) referenced in xsl:import and xsl:include elements.If this is null, a default with no user credentials is used to open the style sheet. The default is not used to resolve any external resources in the style sheet, so xsl:import and xsl:include elements are not resolved.The is not cached after the method completes. The loaded resource is not a valid style sheet. The style sheet contains embedded script, and the caller does not have UnmanagedCode permission. Loads the XSLT style sheet contained in the . An object that contains the XSLT style sheet. The current node does not conform to a valid style sheet. The style sheet contains embedded scripts, and the caller does not have UnmanagedCode permission. Loads the XSLT style sheet contained in the . An object that contains the XSLT style sheet. The used to load any style sheets referenced in xsl:import and xsl:include elements. If this is null, external resources are not resolved.The is not cached after the method completes. The current node does not conform to a valid style sheet. The style sheet contains embedded scripts, and the caller does not have UnmanagedCode permission. Loads the XSLT style sheet contained in the . This method allows you to limit the permissions of the style sheet by specifying evidence. An object containing the style sheet to load. The used to load any style sheets referenced in xsl:import and xsl:include elements. If this is null, external resources are not resolved.The is not cached after the method completes. The set on the assembly generated for the script block in the XSLT style sheet.If this is null, script blocks are not processed, the XSLT document() function is not supported, and privileged extension objects are disallowed.The caller must have ControlEvidence permission in order to supply evidence for the script assembly. Semi-trusted callers can set this parameter to null. The current node does not conform to a valid style sheet. The referenced style sheet requires functionality that is not allowed by the evidence provided.The caller tries to supply evidence and does not have ControlEvidence permission. Loads the XSLT style sheet contained in the . An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the XSLT style sheet. The loaded resource is not a valid style sheet. The style sheet contains embedded scripts, and the caller does not have UnmanagedCode permission. Loads the XSLT style sheet contained in the . An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the XSLT style sheet. The used to load any style sheets referenced in xsl:import and xsl:include elements. If this is null, external resources are not resolved.The is not cached after the method completes. The loaded resource is not a valid style sheet. The style sheet contains embedded scripts, and the caller does not have UnmanagedCode permission. Loads the XSLT style sheet contained in the . This method allows you to limit the permissions of the style sheet by specifying evidence. An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the XSLT style sheet. The used to load any style sheets referenced in xsl:import and xsl:include elements. If this is null, external resources are not resolved.The is not cached after the method completes. The set on the assembly generated for the script block in the XSLT style sheet.If this is null, script blocks are not processed, the XSLT document() function is not supported, and privileged extension objects are disallowed.The caller must have ControlEvidence permission in order to supply evidence for the script assembly. Semi-trusted callers can set this parameter to null. The loaded resource is not a valid style sheet. The referenced style sheet requires functionality that is not allowed by the evidence provided.The caller tries to supply evidence and does not have ControlEvidence permission. Loads the XSLT style sheet contained in the . An object that contains the XSLT style sheet. The current node does not conform to a valid style sheet. The style sheet contains embedded scripts, and the caller does not have UnmanagedCode permission. Loads the XSLT style sheet contained in the . An object that contains the XSLT style sheet. The used to load any style sheets referenced in xsl:import and xsl:include elements. If this is null, external resources are not resolved.The is not cached after the method completes. The current node does not conform to a valid style sheet. The style sheet contains embedded scripts, and the caller does not have UnmanagedCode permission. Loads the XSLT style sheet contained in the . This method allows you to limit the permissions of the style sheet by specifying evidence. An object containing the style sheet to load. The used to load any style sheets referenced in xsl:import and xsl:include elements. If this is null, external resources are not resolved.The is not cached after the method completes. The set on the assembly generated for the script block in the XSLT style sheet.If this is null, script blocks are not processed, the XSLT document() function is not supported, and privileged extension objects are disallowed.The caller must have ControlEvidence permission in order to supply evidence for the script assembly. Semi-trusted callers can set this parameter to null. The current node does not conform to a valid style sheet. The referenced style sheet requires functionality that is not allowed by the evidence provided.The caller tries to supply evidence and does not have ControlEvidence permission. Transforms the XML data in the input file and outputs the result to an output file. The URL of the source document to be transformed. The URL of the output file. Transforms the XML data in the input file and outputs the result to an output file. The URL of the source document to be transformed. The URL of the output file. The used to resolve the XSLT document() function. If this is null, the document() function is not resolved.The is not cached after the method completes. Transforms the XML data in the using the specified and outputs the result to an . An containing the results of the transformation. An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. Transforms the XML data in the using the specified and outputs the result to a . An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The stream to which you want to output. There was an error processing the XSLT transformation.Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to a . An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The stream to which you want to output. The used to resolve the XSLT document() function. If this is null, the document() function is not resolved.The is not cached after the method completes. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to a . An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The to which you want to output. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to a . An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The to which you want to output. The used to resolve the XSLT document() function. If this is null, the document() function is not resolved.The is not cached after the method completes. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to an . An containing the results of the transformation. An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The used to resolve the XSLT document() function. If this is null, the document() function is not resolved.The is not cached after the method completes. Transforms the XML data in the using the specified and outputs the result to an . An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The to which you want to output. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to an . An object implementing the interface. In the .NET Framework, this can be either an (typically an ), or an containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The to which you want to output. The used to resolve the XSLT document() function. If this is null, the document() function is not resolved.The is not cached after the method completes. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to an . An containing the results of the transformation. An containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to a . An containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The stream to which you want to output. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to a . An containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The stream to which you want to output. The used to resolve the XSLT document() function. If this is null, the document() function is not resolved.The is not cached after the method completes. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to a . An containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The to which you want to output. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to a . An containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The to which you want to output. The used to resolve the XSLT document() function. If this is null, the document() function is not resolved.The is not cached after the method completes. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified and outputs the result to an . An containing the results of the transformation. An containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The used to resolve the XSLT document() function. If this is null, the document() function is not resolved.The is not cached after the method completes. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified args and outputs the result to an . An containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The to which you want to output. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Transforms the XML data in the using the specified args and outputs the result to an . An containing the data to be transformed. An containing the namespace-qualified arguments used as input to the transformation. The to which you want to output. The used to resolve the XSLT document() function. If this is null, the document() function is not resolved.The is not cached after the method completes. There was an error processing the XSLT transformation. Note: This is a change in behavior from earlier versions. An is thrown if you are using Microsoft .NET Framework version 1.1 or earlier. Sets the used to resolve external resources when the method is called. The to use during transformation. If set to null, the XSLT document() function is not resolved. Specifies the XSLT features to support during execution of the XSLT style sheet. Initializes a new instance of the class with default settings. Initializes a new instance of the class with the specified settings. true to enable support for the XSLT document() function; otherwise, false. true to enable support for embedded scripts blocks; otherwise, false. Gets an object with default settings. Support for the XSLT document() function and embedded script blocks is disabled. An object with the and properties set to false. Gets or sets a value indicating whether to enable support for the XSLT document() function. true to support the XSLT document() function; otherwise, false. The default is false. Gets or sets a value indicating whether to enable support for embedded script blocks. true to support script blocks in XSLT style sheets; otherwise, false. The default is false. Gets an object that enables support for the XSLT document() function and embedded script blocks. An object with the and properties set to true. Compiles an XSLT style sheet to a specified type. A object containing compiler errors and warnings that indicate the results of the compilation. An positioned at the beginning of the style sheet to be compiled. The to be applied to the style sheet. If this is null, the will be applied. The use to resolve style sheet modules referenced in xsl:import and xsl:include elements. If this is null, external resources will not be resolved. Setting this to true enables debugging the style sheet with a debugger. The used for the style sheet compilation. The provided TypeBuilder is used to generate the resulting type. The base path for the assemblies generated for msxsl:script elements. If only one script assembly is generated, this parameter specifies the path for that assembly. In case of multiple script assemblies, a distinctive suffix will be appended to the file name to ensure uniqueness of assembly names. Loads a method from a style sheet compiled using the XSLTC.exe utility. A object representing the compiler-generated method of the compiled style sheet. A byte array of serialized data structures in the field of the compiled style sheet as generated by the method. An array of types stored in the compiler-generated field of the compiled style sheet. Loads the compiled style sheet that was created using the XSLT Compiler (xsltc.exe). The name of the class that contains the compiled style sheet. This is usually the name of the style sheet. Unless otherwise specified, the xsltc.exe tool uses the name of the style sheet for the class and assembly names.