XmlSerializerOutputFormatter.CreateSerializer(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new instance of XmlSerializer for the given object type.
protected:
virtual System::Xml::Serialization::XmlSerializer ^ CreateSerializer(Type ^ type);
protected virtual System.Xml.Serialization.XmlSerializer CreateSerializer (Type type);
protected virtual System.Xml.Serialization.XmlSerializer? CreateSerializer (Type type);
abstract member CreateSerializer : Type -> System.Xml.Serialization.XmlSerializer
override this.CreateSerializer : Type -> System.Xml.Serialization.XmlSerializer
Protected Overridable Function CreateSerializer (type As Type) As XmlSerializer
Parameters
- type
- Type
The type of object for which the serializer should be created.
Returns
A new instance of XmlSerializer
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for