共用方式為


ExportOptions.DataContractSurrogate 屬性

定義

取得或設定序列化代理。

public:
 property System::Runtime::Serialization::ISerializationSurrogateProvider ^ DataContractSurrogate { System::Runtime::Serialization::ISerializationSurrogateProvider ^ get(); void set(System::Runtime::Serialization::ISerializationSurrogateProvider ^ value); };
public:
 property System::Runtime::Serialization::IDataContractSurrogate ^ DataContractSurrogate { System::Runtime::Serialization::IDataContractSurrogate ^ get(); void set(System::Runtime::Serialization::IDataContractSurrogate ^ value); };
public System.Runtime.Serialization.ISerializationSurrogateProvider? DataContractSurrogate { get; set; }
public System.Runtime.Serialization.IDataContractSurrogate DataContractSurrogate { get; set; }
member this.DataContractSurrogate : System.Runtime.Serialization.ISerializationSurrogateProvider with get, set
member this.DataContractSurrogate : System.Runtime.Serialization.IDataContractSurrogate with get, set
Public Property DataContractSurrogate As ISerializationSurrogateProvider
Public Property DataContractSurrogate As IDataContractSurrogate

屬性值

IDataContractSurrogate 介面的實作,可用來自訂特定型別之 XML 結構描述表示的匯出方式。

適用於