XmlReflectionImporter.IncludeTypes(ICustomAttributeProvider) 方法
定义
包含派生类型的映射,这些映射在以后调用导入方法时使用。Includes mappings for derived types for later use when import methods are invoked.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
void IncludeTypes(System::Reflection::ICustomAttributeProvider ^ provider);
public void IncludeTypes (System.Reflection.ICustomAttributeProvider provider);
member this.IncludeTypes : System.Reflection.ICustomAttributeProvider -> unit
Public Sub IncludeTypes (provider As ICustomAttributeProvider)
参数
- provider
- ICustomAttributeProvider
ICustomAttributeProvider 类的实例,该类包含从 XmlIncludeAttribute 特性派生的自定义特性。An instance of the ICustomAttributeProvider class that contains custom attributes derived from the XmlIncludeAttribute attribute.