Export (0) Print
Expand All

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
[C#]
object GetSerializer(
   Type objectType,
 Type serializerType
);
[C++]
Object* GetSerializer(
   Type* objectType,
 Type* serializerType
);
[JScript]
function GetSerializer(
   objectType : Type,
 serializerType : Type
) : Object;

Parameters

objectType
The type of the object to get the serializer for.
serializerType
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.

Requirements

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

Show:
© 2014 Microsoft