XmlSerializerFactory Class

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates typed versions of the XmlSerializer for more efficient serialization.

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

System.Object
  System.Xml.Serialization.XmlSerializerFactory

public class XmlSerializerFactory

NameDescription
System_CAPS_pubmethodXmlSerializerFactory()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSerializerFactory class.

NameDescription
System_CAPS_pubmethodCreateSerializer(Type)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a derivation of the XmlSerializerFactory class that is used to serialize the specified type.

System_CAPS_pubmethodCreateSerializer(Type, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a derivation of the XmlSerializerFactory class that is used to serialize the specified type and namespace.

System_CAPS_pubmethodCreateSerializer(Type, Type[])

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a derivation of the XmlSerializerFactory class that is used to serialize the specified type. If a property or field returns an array, the extraTypes parameter specifies objects that can be inserted into the array.

System_CAPS_pubmethodCreateSerializer(Type, XmlAttributeOverrides)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a derivation of the XmlSerializer 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.

System_CAPS_pubmethodCreateSerializer(Type, XmlAttributeOverrides, Type[], XmlRootAttribute, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a derivation of the XmlSerializer 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.

System_CAPS_pubmethodCreateSerializer(Type, XmlAttributeOverrides, Type[], XmlRootAttribute, String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a derivation of the XmlSerializer 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.

System_CAPS_pubmethodCreateSerializer(Type, XmlAttributeOverrides, Type[], XmlRootAttribute, String, String, Evidence)

Obsolete. This API supports the product infrastructure and is not intended to be used directly from your code. Returns a derivation of the XmlSerializer 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.

System_CAPS_pubmethodCreateSerializer(Type, XmlRootAttribute)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a derivation of the XmlSerializer class that can serialize objects of the specified type into XML documents, and vice versa. Specifies the object that represents the XML root element.

System_CAPS_pubmethodCreateSerializer(XmlTypeMapping)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a derivation of the XmlSerializerFactory class using an object that maps one type to another.

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_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_protmethodMemberwiseClone()

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

System_CAPS_pubmethodToString()

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

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: