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: