XmlSerializer Methods
Assembly: System.Xml (in System.Xml.dll)
| Name | Description | |
|---|---|---|
![]() | CanDeserialize(XmlReader^) | Gets a value that indicates whether this XmlSerializer can deserialize a specified XML document. |
![]() | CreateReader() | This API supports the product infrastructure and is not intended to be used directly from your code. Returns an object used to read the XML document to be serialized. |
![]() | CreateWriter() | This API supports the product infrastructure and is not intended to be used directly from your code. When overridden in a derived class, returns a writer used to serialize the object. |
![]() | Deserialize(Stream^) | Deserializes the XML document contained by the specified Stream. |
![]() | Deserialize(TextReader^) | Deserializes the XML document contained by the specified TextReader. |
![]() | Deserialize(XmlReader^) | Deserializes the XML document contained by the specified XmlReader. |
![]() | Deserialize(XmlReader^, String^) | Deserializes the XML document contained by the specified XmlReader and encoding style. |
![]() | Deserialize(XmlReader^, String^, XmlDeserializationEvents) | This API supports the product infrastructure and is not intended to be used directly from your code. Deserializes the object using the data contained by the specified XmlReader. |
![]() | Deserialize(XmlReader^, XmlDeserializationEvents) | Deserializes an XML document contained by the specified XmlReader and allows the overriding of events that occur during deserialization. |
![]() | Deserialize(XmlSerializationReader^) | This API supports the product infrastructure and is not intended to be used directly from your code. Deserializes the XML document contained by the specified XmlSerializationReader. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() ![]() | FromMappings(array<XmlMapping^>^) | This API supports the product infrastructure and is not intended to be used directly from your code. Returns an array of XmlSerializer objects created from an array of XmlTypeMapping objects. |
![]() ![]() | FromMappings(array<XmlMapping^>^, Evidence^) | Obsolete. Returns an instance of the XmlSerializer class created from mappings of one XML type to another. |
![]() ![]() | FromMappings(array<XmlMapping^>^, Type^) | This API supports the product infrastructure and is not intended to be used directly from your code. Returns an instance of the XmlSerializer class from the specified mappings. |
![]() ![]() | FromTypes(array<Type^>^) | Returns an array of XmlSerializer objects created from an array of types. |
![]() ![]() | GenerateSerializer(array<Type^>^, array<XmlMapping^>^) | This API supports the product infrastructure and is not intended to be used directly from your code. Returns an assembly that contains custom-made serializers used to serialize or deserialize the specified type or types, using the specified mappings. |
![]() ![]() | GenerateSerializer(array<Type^>^, array<XmlMapping^>^, CompilerParameters^) | This API supports the product infrastructure and is not intended to be used directly from your code. 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. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() ![]() | GetXmlSerializerAssemblyName(Type^) | Returns the name of the assembly that contains one or more versions of the XmlSerializer especially created to serialize or deserialize the specified type. |
![]() ![]() | GetXmlSerializerAssemblyName(Type^, String^) | Returns the name of the assembly that contains the serializer for the specified type in the specified namespace. |
![]() | MemberwiseClone() | |
![]() | Serialize(Object^, XmlSerializationWriter^) | This API supports the product infrastructure and is not intended to be used directly from your code. Serializes the specified Object and writes the XML document to a file using the specified XmlSerializationWriter. |
![]() | Serialize(Stream^, Object^) | |
![]() | Serialize(Stream^, Object^, XmlSerializerNamespaces^) | |
![]() | Serialize(TextWriter^, Object^) | Serializes the specified Object and writes the XML document to a file using the specified TextWriter. |
![]() | Serialize(TextWriter^, Object^, XmlSerializerNamespaces^) | Serializes the specified Object and writes the XML document to a file using the specified TextWriter and references the specified namespaces. |
![]() | Serialize(XmlWriter^, Object^) | |
![]() | Serialize(XmlWriter^, Object^, XmlSerializerNamespaces^) | |
![]() | Serialize(XmlWriter^, Object^, XmlSerializerNamespaces^, String^) | Serializes the specified object and writes the XML document to a file using the specified XmlWriter and references the specified namespaces and encoding style. |
![]() | Serialize(XmlWriter^, Object^, XmlSerializerNamespaces^, String^, String^) | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |


