XmlReflectionImporter.IncludeTypes(ICustomAttributeProvider) Metoda

Definice

Zahrnuje mapování odvozených typů pro pozdější použití při vyvolání metod importu.

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

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)

Parametry

provider
ICustomAttributeProvider

Instance ICustomAttributeProvider třídy, která obsahuje vlastní atributy odvozené z atributu XmlIncludeAttribute .

Atributy

Platí pro