Bewerken

Share via


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
XmlSerializerFactory

Constructors

XmlSerializerFactory()

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.

Methods

CreateSerializer(Type)

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 is used to serialize the specified type.

CreateSerializer(Type, 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 is used to serialize the specified type and namespace.

CreateSerializer(Type, Type[])

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 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)

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.

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

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

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

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

Obsolete.

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)

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.

CreateSerializer(XmlTypeMapping)

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

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

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to