共用方式為


IDesignerSerializationManager.GetSerializer(Type, Type) 方法

定義

為指定的物件型別取得要求的型別的序列化工具。

public:
 System::Object ^ GetSerializer(Type ^ objectType, Type ^ serializerType);
public object GetSerializer (Type objectType, Type serializerType);
public object? GetSerializer (Type? objectType, Type serializerType);
abstract member GetSerializer : Type * Type -> obj
Public Function GetSerializer (objectType As Type, serializerType As Type) As Object

參數

objectType
Type

要為其取得序列化工具的物件型別。

serializerType
Type

要擷取的序列化工具型別。

傳回

要求的序列化工具的執行個體,或 null (如果找不到適當的序列化工具)。

適用於