WorkflowMarkupSerializationManager.GetSerializer Method (Type, Type)

 

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

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public object GetSerializer(
	Type objectType,
	Type serializerType
)

Parameters

objectType
Type: System.Type

The Type for which to retrieve the serializer.

serializerType
Type: System.Type

The Type of the serializer to retrieve.

Return Value

Type: System.Object

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

.NET Framework
Available since 3.0
Return to top
Show: