共用方式為


CodeDomLocalizationProvider.IDesignerSerializationProvider.GetSerializer 方法

定義

如需這個成員的說明,請參閱 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

參數

manager
IDesignerSerializationManager

要求序列化工具的序列化管理員。

currentSerializer
Object

指定之型別的目前序列化工具執行個體。 如果指定型別的序列化工具不存在,則這可能是 null

objectType
Type

要序列化的物件資料型別。

serializerType
Type

要建立的序列化工具資料型別。

傳回

要求型別的序列化工具執行個體,或 null (如果無法滿足要求)。

實作

備註

這個成員是明確介面成員實作, 只有在 CodeDomLocalizationProvider 執行個體轉換成 IDesignerSerializationProvider 介面時,才能使用這個成員。

適用於