XmlSerializer Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

NameDescription
System_CAPS_pubmethodCanDeserialize(XmlReader)

Gets a value that indicates whether this XmlSerializer can deserialize a specified XML document.

System_CAPS_protmethodCreateReader()

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.

System_CAPS_protmethodCreateWriter()

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.

System_CAPS_pubmethodDeserialize(Stream)

Deserializes the XML document contained by the specified Stream.

System_CAPS_pubmethodDeserialize(TextReader)

Deserializes the XML document contained by the specified TextReader.

System_CAPS_pubmethodDeserialize(XmlReader)

Deserializes the XML document contained by the specified XmlReader.

System_CAPS_pubmethodDeserialize(XmlReader, String)

Deserializes the XML document contained by the specified XmlReader and encoding style.

System_CAPS_pubmethodDeserialize(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.

System_CAPS_pubmethodDeserialize(XmlReader, XmlDeserializationEvents)

Deserializes an XML document contained by the specified XmlReader and allows the overriding of events that occur during deserialization.

System_CAPS_protmethodDeserialize(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.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromMappings(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.

System_CAPS_pubmethodSystem_CAPS_staticFromMappings(XmlMapping[], Evidence)

Obsolete. Returns an instance of the XmlSerializer class created from mappings of one XML type to another.

System_CAPS_pubmethodSystem_CAPS_staticFromMappings(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.

System_CAPS_pubmethodSystem_CAPS_staticFromTypes(Type[])

Returns an array of XmlSerializer objects created from an array of types.

System_CAPS_pubmethodSystem_CAPS_staticGenerateSerializer(Type[], 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.

System_CAPS_pubmethodSystem_CAPS_staticGenerateSerializer(Type[], 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.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetXmlSerializerAssemblyName(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.

System_CAPS_pubmethodSystem_CAPS_staticGetXmlSerializerAssemblyName(Type, String)

Returns the name of the assembly that contains the serializer for the specified type in the specified namespace.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodSerialize(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.

System_CAPS_pubmethodSerialize(Stream, Object)

Serializes the specified Object and writes the XML document to a file using the specified Stream.

System_CAPS_pubmethodSerialize(Stream, Object, XmlSerializerNamespaces)

Serializes the specified Object and writes the XML document to a file using the specified Streamthat references the specified namespaces.

System_CAPS_pubmethodSerialize(TextWriter, Object)

Serializes the specified Object and writes the XML document to a file using the specified TextWriter.

System_CAPS_pubmethodSerialize(TextWriter, Object, XmlSerializerNamespaces)

Serializes the specified Object and writes the XML document to a file using the specified TextWriter and references the specified namespaces.

System_CAPS_pubmethodSerialize(XmlWriter, Object)

Serializes the specified Object and writes the XML document to a file using the specified XmlWriter.

System_CAPS_pubmethodSerialize(XmlWriter, Object, XmlSerializerNamespaces)

Serializes the specified Object and writes the XML document to a file using the specified XmlWriter and references the specified namespaces.

System_CAPS_pubmethodSerialize(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.

System_CAPS_pubmethodSerialize(XmlWriter, Object, XmlSerializerNamespaces, String, String)

Serializes the specified Object and writes the XML document to a file using the specified XmlWriter, XML namespaces, and encoding.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: