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.

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
)

Parameters

clrType
Type: System::Type^

The CLR type to be replaced.

dataContractType
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
Available since 3.0
Return to top
Show:
© 2017 Microsoft