GlobalObject.GetSerializer(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.
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.