CodeDomLocalizationProvider.IDesignerSerializationProvider.GetSerializer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For a description of this member, see GetSerializer(IDesignerSerializationManager, Object, Type, Type).
virtual System::Object ^ System.ComponentModel.Design.Serialization.IDesignerSerializationProvider.GetSerializer(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ currentSerializer, Type ^ objectType, Type ^ serializerType) = System::ComponentModel::Design::Serialization::IDesignerSerializationProvider::GetSerializer;
object IDesignerSerializationProvider.GetSerializer (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object currentSerializer, Type objectType, Type serializerType);
object? IDesignerSerializationProvider.GetSerializer (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object? currentSerializer, Type? objectType, Type serializerType);
abstract member System.ComponentModel.Design.Serialization.IDesignerSerializationProvider.GetSerializer : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj * Type * Type -> obj
override this.System.ComponentModel.Design.Serialization.IDesignerSerializationProvider.GetSerializer : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj * Type * Type -> obj
Function GetSerializer (manager As IDesignerSerializationManager, currentSerializer As Object, objectType As Type, serializerType As Type) As Object Implements IDesignerSerializationProvider.GetSerializer
Parameters
- manager
- IDesignerSerializationManager
The serialization manager requesting the serializer.
- currentSerializer
- 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
The data type of the object to serialize.
- serializerType
- Type
The data type of the serializer to create.
Returns
An instance of a serializer of the type requested, or null
if the request cannot be satisfied.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the CodeDomLocalizationProvider instance is cast to an IDesignerSerializationProvider interface.