Edit

Share via


NetDataContractSerializer.SurrogateSelector Property

Definition

Gets or sets an object that assists the formatter when selecting a surrogate for serialization.

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

Property Value

An ISurrogateSelector for selecting a surrogate.

Implements

Remarks

For more information about the IDataContractSurrogate, see Data Contract Surrogates.

Applies to

See also