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.

ImportOptions::DataContractSurrogate Property

 

Gets or sets a data contract surrogate that can be used to modify the code generated during an import operation.

Namespace:   System.Runtime.Serialization
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^

An implementation of the IDataContractSurrogate interface that handles schema import.

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