Επεξεργασία

Κοινή χρήση μέσω


ActivityCodeDomSerializationManager.GetSerializer(Type, Type) Method

Definition

Gets a serializer of the requested type for the specified Object 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 of the Object for which to obtain the serializer.

serializerType
Type

The Type of serializer to retrieve.

Returns

A serializer of the requested type for the specified Object type.

Implements

Remarks

If the object type is a string, a default serializer is returned. Otherwise the corresponding method of the SerializationManager is invoked.

Applies to