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.

DataContractJsonSerializerSettings::DataContractSurrogate Property

.NET Framework (current version)
 

Gets or sets a surrogate type that is currently active for given IDataContractSurrogate instance.

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

public:
property IDataContractSurrogate^ DataContractSurrogate {
	IDataContractSurrogate^ get();
	void set(IDataContractSurrogate^ value);
}

Property Value

Type: System.Runtime.Serialization::IDataContractSurrogate^

The surrogate type that is currently active for given IDataContractSurrogate instance.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft