XmlSerializerFactory.CreateSerializer Method

 

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 a type.

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

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.

Return to top
Show: