ISerializationSurrogateProvider2.GetCustomDataToExport 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| GetCustomDataToExport(MemberInfo, Type) | 
						 在架构导出操作期间,将注释插入架构中的非  | 
        	
| GetCustomDataToExport(Type, Type) | 
						 在架构导出操作期间,将注释插入架构中的非  | 
        	
GetCustomDataToExport(MemberInfo, Type)
- Source:
 - IgnoreDataMemberAttribute.cs
 
在架构导出操作期间,将注释插入架构中的非null 返回值。
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
	Public Function GetCustomDataToExport (memberInfo As MemberInfo, dataContractType As Type) As Object
	参数
- memberInfo
 - MemberInfo
 
一个对成员进行描述的 MemberInfo。
- dataContractType
 - Type
 
要批注的数据协定类型。
返回
一个对象,它表示要插入到 XML 架构定义中的批注。
适用于
GetCustomDataToExport(Type, Type)
- Source:
 - IgnoreDataMemberAttribute.cs
 
在架构导出操作期间,将注释插入架构中的非null 返回值。
public:
 System::Object ^ GetCustomDataToExport(Type ^ runtimeType, Type ^ dataContractType);
	public object? GetCustomDataToExport(Type runtimeType, Type dataContractType);
	abstract member GetCustomDataToExport : Type * Type -> obj
	Public Function GetCustomDataToExport (runtimeType As Type, dataContractType As Type) As Object
	参数
- runtimeType
 - Type
 
要替换的运行时类型。
- dataContractType
 - Type
 
要批注的数据协定类型。
返回
一个对象,它表示要插入到 XML 架构定义中的批注。