XmlReflectionImporter.IncludeType(Type) Methode

Definitie

Bevat toewijzingen voor een type voor later gebruik wanneer importmethoden worden aangeroepen.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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)

Parameters

type
Type

Het .NET type waarvoor typetoewijzingsgegevens moeten worden opgeslagen.

Kenmerken

Opmerkingen

Het is niet nodig om de IncludeType methode rechtstreeks aan te roepen.

Van toepassing op