Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property ISurrogateSelector^ SurrogateSelector {
	virtual ISurrogateSelector^ get() sealed;
	virtual void set(ISurrogateSelector^ value) sealed;
}

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:
© 2017 Microsoft