XmlSerializerFactory XmlSerializerFactory XmlSerializerFactory XmlSerializerFactory Class

Definition

Creates typed versions of the XmlSerializer for more efficient serialization.

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

public ref class XmlSerializerFactory
public class XmlSerializerFactory
type XmlSerializerFactory = class
Public Class XmlSerializerFactory
Inheritance
XmlSerializerFactoryXmlSerializerFactoryXmlSerializerFactoryXmlSerializerFactory

Constructors

XmlSerializerFactory() XmlSerializerFactory() XmlSerializerFactory() XmlSerializerFactory()

Initializes a new instance of the XmlSerializerFactory class.

Methods

CreateSerializer(Type) CreateSerializer(Type) CreateSerializer(Type) CreateSerializer(Type)

Returns a derivation of the XmlSerializer class that is used to serialize the specified type.

CreateSerializer(Type, String) CreateSerializer(Type, String) CreateSerializer(Type, String) CreateSerializer(Type, String)

Returns a derivation of the XmlSerializer class that is used to serialize the specified type and namespace.

CreateSerializer(Type, Type[]) CreateSerializer(Type, Type[]) CreateSerializer(Type, Type[]) CreateSerializer(Type, Type[])

Returns a derivation of the XmlSerializer 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.

CreateSerializer(Type, XmlAttributeOverrides) CreateSerializer(Type, XmlAttributeOverrides) CreateSerializer(Type, XmlAttributeOverrides) CreateSerializer(Type, XmlAttributeOverrides)

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.

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

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.

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

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.

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

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.

CreateSerializer(Type, XmlRootAttribute) CreateSerializer(Type, XmlRootAttribute) CreateSerializer(Type, XmlRootAttribute) CreateSerializer(Type, XmlRootAttribute)

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.

CreateSerializer(XmlTypeMapping) CreateSerializer(XmlTypeMapping) CreateSerializer(XmlTypeMapping) CreateSerializer(XmlTypeMapping)

Returns a derivation of the XmlSerializer class using an object that maps one type to another.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to