DesignerSerializationManager.IDesignerSerializationManager.GetSerializer 方法

定义

为指定对象类型获取所请求类型的序列化程序。

 virtual System::Object ^ System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetSerializer(Type ^ objectType, Type ^ serializerType) = System::ComponentModel::Design::Serialization::IDesignerSerializationManager::GetSerializer;
object IDesignerSerializationManager.GetSerializer (Type objectType, Type serializerType);
object? IDesignerSerializationManager.GetSerializer (Type? objectType, Type serializerType);
abstract member System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetSerializer : Type * Type -> obj
override this.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetSerializer : Type * Type -> obj
Function GetSerializer (objectType As Type, serializerType As Type) As Object Implements IDesignerSerializationManager.GetSerializer

参数

objectType
Type

要为其获取序列化程序的对象类型。

serializerType
Type

要检索的序列化程序的类型。

返回

请求的序列化程序的实例,如果不能找到任何适当的序列化程序,则为 null

实现

适用于