GetCustomDataToExport Method (MemberInfo, Type)
Collapse the table of content
Expand the table of content

IDataContractSurrogate.GetCustomDataToExport Method (MemberInfo, 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(
	MemberInfo memberInfo,
	Type dataContractType
)

Parameters

memberInfo
Type: System.Reflection.MemberInfo

A MemberInfo that describes the member.

dataContractType
Type: System.Type

A Type.

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:
© 2016 Microsoft