Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

Implements

IFormatter.SurrogateSelector

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft