共用方式為


DataContractSerializerOperationBehavior.DataContractSurrogate 屬性

定義

取得或設定進行序列化和還原序列化程序時要使用的 Surrogate。

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

屬性值

IDataContractSurrogate

用來當做替代序列化程式的 IDataContractSurrogate

適用於