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.

ExportOptions::DataContractSurrogate Property

 

Gets or sets a serialization surrogate.

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 can be used to customize how an XML schema representation is exported for a specific type.

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