共用方式為


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 (如果找不到適當的序列化工具)。

實作

適用於