DataContractSerializerOperationBehavior.DataContractSurrogate 属性

定义

获取或设置要在序列化和反序列化过程中使用的代理项。

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

适用于