แก้ไข

แชร์ผ่าน


XmlSerializerImplementation.GetSerializer(Type) Method

Definition

Returns a serializer for the specified type.

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

public:
 virtual System::Xml::Serialization::XmlSerializer ^ GetSerializer(Type ^ type);
public virtual System.Xml.Serialization.XmlSerializer GetSerializer (Type type);
abstract member GetSerializer : Type -> System.Xml.Serialization.XmlSerializer
override this.GetSerializer : Type -> System.Xml.Serialization.XmlSerializer
Public Overridable Function GetSerializer (type As Type) As XmlSerializer

Parameters

type
Type

The type to be serialized.

Returns

An instance of a type derived from the XmlSerializer class.

Applies to