NetDataContractSerializer.SurrogateSelector Property

 

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

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public ISurrogateSelector SurrogateSelector { get; set; }

Property Value

Type: System.Runtime.Serialization.ISurrogateSelector

An ISurrogateSelector for selecting a surrogate.

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

.NET Framework
Available since 3.0
Return to top
Show: