This documentation is archived and is not being maintained.

IDesignerSerializationManager.GetSerializer Method

Gets a serializer of the requested type for the specified object type.

[Visual Basic]
Function GetSerializer( _
   ByVal objectType As Type, _
   ByVal serializerType As Type _
) As Object
object GetSerializer(
   Type objectType,
 Type serializerType
Object* GetSerializer(
   Type* objectType,
 Type* serializerType
function GetSerializer(
   objectType : Type,
 serializerType : Type
) : Object;


The type of the object to get the serializer for.
The type of the serializer to retrieve.

Return Value

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IDesignerSerializationManager Interface | IDesignerSerializationManager Members | System.ComponentModel.Design.Serialization Namespace