DesignerSerializationManager.IDesignerSerializationManager.GetSerializer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為指定的物件型別取得要求的型別的序列化工具。
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
(如果找不到適當的序列化工具)。