System.ComponentModel.Design.Serialization.DesignerSerializationManager.GetSerializer Method

Gets the serializer for the given object type.

Syntax

public object GetSerializer (Type componentType, Type serializerType)

Parameters

componentType
Documentation for this section has not yet been entered.
serializerType
The type of serializer to retrieve.

Returns

The serializer for objectType, or null, if not found.

Remarks

You can request the type of serializer you would like. This method returns null if there is no serializer of the requested type for the specified object type.

Requirements

Namespace: System.ComponentModel.Design.Serialization
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0