CodeDomLocalizationProvider.IDesignerSerializationProvider.GetSerializer Method (IDesignerSerializationManager, Object, Type, Type)

 

For a description of this member, see GetSerializer.

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

object IDesignerSerializationProvider.GetSerializer(
	IDesignerSerializationManager manager,
	object currentSerializer,
	Type objectType,
	Type serializerType
)

Parameters

manager
Type: System.ComponentModel.Design.Serialization.IDesignerSerializationManager

The serialization manager requesting the serializer.

currentSerializer
Type: System.Object

An instance of the current serializer of the specified type. This can be null if no serializer of the specified type exists.

objectType
Type: System.Type

The data type of the object to serialize.

serializerType
Type: System.Type

The data type of the serializer to create.

Return Value

Type: System.Object

An instance of a serializer of the type requested, or null if the request cannot be satisfied.

This member is an explicit interface member implementation. It can be used only when the CodeDomLocalizationProvider instance is cast to an IDesignerSerializationProvider interface.

.NET Framework
Available since 2.0
Return to top
Show: