XmlReflectionImporter.IncludeType(Type) Metoda

Definice

Zahrnuje mapování pro 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 IncludeType(Type ^ type);
[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 IncludeType(Type type);
public void IncludeType(Type type);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")]
public void IncludeType(Type type);
[<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.IncludeType : Type -> unit
member this.IncludeType : Type -> unit
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly")>]
member this.IncludeType : Type -> unit
Public Sub IncludeType (type As Type)

Parametry

type
Type

Typ .NET, pro který chcete uložit informace o mapování typů.

Atributy

Poznámky

Metodu IncludeType není nutné volat přímo.

Platí pro