ISerializationSurrogateProvider2.GetCustomDataToExport Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetCustomDataToExport(MemberInfo, Type) | During schema export operations, inserts annotations into the schema for non- | 
| GetCustomDataToExport(Type, Type) | During schema export operations, inserts annotations into the schema for non- | 
GetCustomDataToExport(MemberInfo, Type)
- Source:
- IgnoreDataMemberAttribute.cs
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 -> objPublic Function GetCustomDataToExport (memberInfo As MemberInfo, dataContractType As Type) As ObjectParameters
- memberInfo
- MemberInfo
A MemberInfo that describes the member.
- dataContractType
- 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
GetCustomDataToExport(Type, Type)
- Source:
- IgnoreDataMemberAttribute.cs
During schema export operations, inserts annotations into the schema for non-null return values.
public:
 System::Object ^ GetCustomDataToExport(Type ^ runtimeType, Type ^ dataContractType);public object? GetCustomDataToExport(Type runtimeType, Type dataContractType);abstract member GetCustomDataToExport : Type * Type -> objPublic Function GetCustomDataToExport (runtimeType As Type, dataContractType As Type) As ObjectParameters
- runtimeType
- Type
The runtime type to be replaced.
- dataContractType
- Type
The data contract type to be annotated.
Returns
An object that represents the annotation to be inserted into the XML schema definition.