CodeDomLocalizationProvider.IDesignerSerializationProvider.GetSerializer 方法

定义

 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

参数

manager
IDesignerSerializationManager

请求序列化程序的序列化管理器。

currentSerializer
Object

指定类型的当前序列化程序的实例。 如果不存在指定类型的序列化程序,则这可能为 null

objectType
Type

要序列化的对象的数据类型。

serializerType
Type

要创建的序列化程序的数据类型。

返回

所请求类型的序列化程序的实例,如果不能满足该请求则为 null

实现

注解

此成员是显式接口成员的实现。 它只能在 CodeDomLocalizationProvider 实例被强制转换为 IDesignerSerializationProvider 接口时使用。

适用于