Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IDataContractSurrogate.GetCustomDataToExport Method (Type, Type)

During schema export operations, inserts annotations into the schema for non-null return values.

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

Object GetCustomDataToExport(
	Type clrType,
	Type dataContractType


Type: System.Type

The CLR type to be replaced.

Type: System.Type

The data contract type to be annotated.

Return Value

Type: System.Object
An object that represents the annotation to be inserted into the XML schema definition.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft