XmlSerializerFactory..::.CreateSerializer Method
This page is specific to:.NET Framework Version:2.03.03.54.0
.NET Framework Class Library
XmlSerializerFactory..::.CreateSerializer Method

This API supports the .NET Framework 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.

Overload List

  NameDescription
Public methodCreateSerializer(Type)Returns a derivation of the XmlSerializerFactory class that is used to serialize the specified type.
Public methodCreateSerializer(XmlTypeMapping)Returns a derivation of the XmlSerializerFactory class using an object that maps one type to another.
Public methodCreateSerializer(Type, String)Returns a derivation of the XmlSerializerFactory class that is used to serialize the specified type and namespace.
Public methodCreateSerializer(Type, array<Type>[]()[])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.
Public methodCreateSerializer(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.
Public methodCreateSerializer(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.
Public methodCreateSerializer(Type, XmlAttributeOverrides, array<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.
Public methodCreateSerializer(Type, XmlAttributeOverrides, array<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.
Top
See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View