Compartilhar via


GlobalObject.GetSerializer(Type) Method

Definition

Returns the checked serializer of the specified type for the global object.

public:
 System::Object ^ GetSerializer(Type ^ serializerType);
public:
 Platform::Object ^ GetSerializer(Platform::Type ^ serializerType);
public object GetSerializer (Type serializerType);
member this.GetSerializer : Type -> obj
Public Function GetSerializer (serializerType As Type) As Object

Parameters

serializerType
Type

The type of serializer to retrieve.

Returns

A serializer of the specified type if supported; otherwise, null.

Exceptions

serializerType is null.

The non-null serializer retrieved is itself not serializable.

Applies to