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: