System.Xml.XmlSerializer
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.
Removes all objects from the . This method cannot be overridden.
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 number of elements contained in the instance.
The number of elements contained in the instance.
Returns an enumerator that iterates through the .
An enumerator that iterates through the .
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.
Removes the element at the specified index of the . This method cannot be overridden.
The index of the element to be removed.
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.
The specified index.
Gets a value indicating whether access to the is synchronized (thread safe).
True if the access to the is synchronized; otherwise, false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
Adds an object to the end of the .
The added object to the collection.
The value of the object to be added to the collection.
Determines whether the contains a specific element.
True if the contains a specific element; otherwise, false.
The value of the element.
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire .
The zero-based index of the object.
The value of the object.
Inserts an element into the at the specified index.
The index where the element will be inserted.
The value of the element.
Gets a value indicating whether the a fixed size.
True if the a fixed size; otherwise, false.
Gets a value indicating whether the is read-only.
True if the is read-only; otherwise, false.
Gets or sets the element at the specified index.
The element at the specified index.
The index of the element.
Removes the first occurrence of a specific object from the .
The value of the removed object.
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.
Represents an attribute that 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.
Removes all elements from the .
The is read-only.-or- The has a fixed size.
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.
Gets the number of elements contained in the .
The number of elements contained in the .
Returns an enumerator for the entire .
An for the entire .
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.
Removes the item at the specified index.
The zero-based index of the item to remove.
is not a valid index in the .
The is read-only.-or- The has a fixed size.
Copies the entire to a compatible one-dimensional , starting at the specified index of the target array.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false.
Adds an object to the end of the .
The index at which the has been added.
The to be added to the end of the . The value can be null.
The is read-only.-or- The has a fixed size.
Determines whether the collection contains the specified .
true if the collection contains the specified ; otherwise, false.
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.
Inserts an element into the at the specified index.
The zero-based index at which should be inserted.
The to insert. The value can be null.
is less than zero.-or- is greater than .
The is read-only.-or- The has a fixed size.
Gets a value indicating whether the has a fixed size.
true if the has a fixed size; otherwise, false.
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false.
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 the first occurrence of a specific object from the .
The is read-only.-or- The has a fixed size.
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.
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.
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.
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.
Removes all elements from the .
The is read-only.-or- The has a fixed size.
Determines whether the collection contains the specified object.
true if the object exists in the collection; otherwise, false.
The to look for.
Copies the , or a portion of it to a one-dimensional array.
The array to hold the copied elements.
The zero-based index in at which copying begins.
Gets the number of elements contained in the .
The number of elements contained in the .
Returns an enumerator for the entire .
An for the entire .
Gets the index of the specified .
The zero-based index of the .
The whose index is being retrieved.
Inserts an into the collection.
The zero-based index where the member is inserted.
The to insert.
Gets or sets the element at the specified index.
The element at the specified index.
The zero-based index of the element to get or set.
is not a valid index in the .
The property is set and the is read-only.
Removes the specified object from the collection.
The to remove from the collection.
Removes the item at the specified index.
The zero-based index of the item to remove.
is not a valid index in the .
The is read-only.-or- The has a fixed size.
Copies the entire to a compatible one-dimensional , starting at the specified index of the target array.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
Adds an object to the end of the .
The index at which the has been added.
The to be added to the end of the . The value can be null.
The is read-only.-or- The has a fixed size.
Determines whether the contains a specific value.
true if the is found in the ; otherwise, false.
The object to locate in the .
Determines the index of a specific item in the .
The index of if found in the list; otherwise, -1.
The object to locate in the .
Inserts an element into the at the specified index.
The zero-based index at which should be inserted.
The to insert. The value can be null.
is less than zero.-or- is greater than .
The is read-only.-or- The has a fixed size.
Gets a value indicating whether the has a fixed size.
true if the has a fixed size; otherwise, false.
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false.
Gets or sets the element at the specified index.
The element at the specified index.
The zero-based index of the element to get or set.
is not a valid index in the .
The property is set and the is read-only.
Removes the first occurrence of a specific object from the .
The is read-only.-or- The has a fixed size.
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.
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.
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.
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 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.
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.
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 being deserialized.
The that contains the XML document to deserialize.
An error occurred during deserialization. The original exception is available using the property.
Returns an array of objects created from an array of types.
An array of objects.
An array of objects.
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 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.
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.
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.