IDataContractSurrogate.GetCustomDataToExport IDataContractSurrogate.GetCustomDataToExport IDataContractSurrogate.GetCustomDataToExport IDataContractSurrogate.GetCustomDataToExport Method

Definition

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

Overloads

GetCustomDataToExport(MemberInfo, Type) GetCustomDataToExport(MemberInfo, Type) GetCustomDataToExport(MemberInfo, Type)

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

GetCustomDataToExport(Type, Type) GetCustomDataToExport(Type, Type) GetCustomDataToExport(Type, Type) GetCustomDataToExport(Type, Type)

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

GetCustomDataToExport(MemberInfo, Type) GetCustomDataToExport(MemberInfo, Type) GetCustomDataToExport(MemberInfo, Type)

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

public:
 System::Object ^ GetCustomDataToExport(System::Reflection::MemberInfo ^ memberInfo, Type ^ dataContractType);
public object GetCustomDataToExport (System.Reflection.MemberInfo memberInfo, Type dataContractType);
abstract member GetCustomDataToExport : System.Reflection.MemberInfo * Type -> obj

Parameters

memberInfo
MemberInfo MemberInfo MemberInfo MemberInfo

A MemberInfo that describes the member.

dataContractType
Type Type Type Type

A Type.

Returns

An object that represents the annotation to be inserted into the XML schema definition.

GetCustomDataToExport(Type, Type) GetCustomDataToExport(Type, Type) GetCustomDataToExport(Type, Type) GetCustomDataToExport(Type, Type)

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

public:
 System::Object ^ GetCustomDataToExport(Type ^ clrType, Type ^ dataContractType);
public object GetCustomDataToExport (Type clrType, Type dataContractType);
abstract member GetCustomDataToExport : Type * Type -> obj
Public Function GetCustomDataToExport (clrType As Type, dataContractType As Type) As Object

Parameters

clrType
Type Type Type Type

The CLR type to be replaced.

dataContractType
Type Type Type Type

The data contract type to be annotated.

Returns

An object that represents the annotation to be inserted into the XML schema definition.

Applies to