IDataContractSurrogate.GetCustomDataToExport Метод
Определение
Во время операций экспорта схемы вставляет в схему заметки для возвращаемых значений, не равных null.During schema export operations, inserts annotations into the schema for non-null return values.
Перегрузки
GetCustomDataToExport(MemberInfo, Type) |
Во время операций экспорта схемы вставляет в схему заметки для возвращаемых значений, не равных null.During schema export operations, inserts annotations into the schema for non-null return values. |
GetCustomDataToExport(Type, Type) |
Во время операций экспорта схемы вставляет в схему заметки для возвращаемых значений, не равных null.During schema export operations, inserts annotations into the schema for non-null return values. |
GetCustomDataToExport(MemberInfo, Type)
Во время операций экспорта схемы вставляет в схему заметки для возвращаемых значений, не равных null.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
Public Function GetCustomDataToExport (memberInfo As MemberInfo, dataContractType As Type) As Object
Параметры
- memberInfo
- MemberInfo
Объект MemberInfo, описывающий элемент.A MemberInfo that describes the member.
Возвращаемое значение
Объект, представляющий заметку, которая вставляется в определение схемы XML.An object that represents the annotation to be inserted into the XML schema definition.
Применяется к
GetCustomDataToExport(Type, Type)
Во время операций экспорта схемы вставляет в схему заметки для возвращаемых значений, не равных null.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
Параметры
- clrType
- Type
Заменяемый тип среды CLR.The CLR type to be replaced.
- dataContractType
- Type
Тип контракта данных, для которого создается заметка.The data contract type to be annotated.
Возвращаемое значение
Объект, представляющий заметку, которая вставляется в определение схемы XML.An object that represents the annotation to be inserted into the XML schema definition.