WorkflowMarkupSerializationManager.GetSerializer(Type, Type) Method

Definition

Returns a serializer of the specified type for an object of the specified type.

public:
 virtual System::Object ^ GetSerializer(Type ^ objectType, Type ^ serializerType);
public object GetSerializer (Type objectType, Type serializerType);
abstract member GetSerializer : Type * Type -> obj
override this.GetSerializer : Type * Type -> obj
Public Function GetSerializer (objectType As Type, serializerType As Type) As Object

Parameters

objectType
Type

The Type for which to retrieve the serializer.

serializerType
Type

The Type of the serializer to retrieve.

Returns

The requested serializer, or a null reference (Nothing in Visual Basic) if no appropriate serializer can be located.

Implements

Applies to