XmlReflectionImporter.IncludeTypes(ICustomAttributeProvider) 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.
Includes mappings for derived types for later use when import methods are invoked.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
void IncludeTypes(System::Reflection::ICustomAttributeProvider ^ provider);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
public void IncludeTypes(System.Reflection.ICustomAttributeProvider provider);
public void IncludeTypes(System.Reflection.ICustomAttributeProvider provider);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
public void IncludeTypes(System.Reflection.ICustomAttributeProvider provider);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XML serializer relies on dynamic code generation which is not available with Ahead of Time compilation")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
member this.IncludeTypes : System.Reflection.ICustomAttributeProvider -> unit
member this.IncludeTypes : System.Reflection.ICustomAttributeProvider -> unit
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
member this.IncludeTypes : System.Reflection.ICustomAttributeProvider -> unit
Public Sub IncludeTypes (provider As ICustomAttributeProvider)
Parameters
- provider
- ICustomAttributeProvider
An instance of the ICustomAttributeProvider class that contains custom attributes derived from the XmlIncludeAttribute attribute.
- Attributes