Redigera

Dela via


DataContractSerializerOperationBehavior.DataContractSurrogate Property

Definition

Gets or sets a surrogate to be used during the serialization and deserialization processes.

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

Property Value

An IDataContractSurrogate that is used as a substitute serializer.

Applies to