XmlMediaTypeFormatter.SetSerializer Method

Include Protected Members
Include Inherited Members

Registers an XML serializer to read or write objects of a specified type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SetSerializer<T>(XmlObjectSerializer) Registers an XmlObjectSerializer to read or write objects of a specified type.
Public method SetSerializer<T>(XmlSerializer) Registers an XmlSerializer to read or write objects of a specified type.
Public method SetSerializer(Type, XmlObjectSerializer) Registers an XmlObjectSerializer to read or write objects of a specified type.
Public method SetSerializer(Type, XmlSerializer) Registers an XmlSerializer to read or write objects of a specified type.

Top

See Also

Reference

XmlMediaTypeFormatter Class

System.Net.Http.Formatting Namespace