NewLateBinding.LateGet Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Exécute un appel d’accès aux champs ou à une propriété liée tardivement. Cette méthode d’assistance n’est pas destinée à être appelée directement à partir de votre code.
public:
static System::Object ^ LateGet(System::Object ^ Instance, Type ^ Type, System::String ^ MemberName, cli::array <System::Object ^> ^ Arguments, cli::array <System::String ^> ^ ArgumentNames, cli::array <Type ^> ^ TypeArguments, cli::array <bool> ^ CopyBack);
public static object LateGet(object Instance, Type Type, string MemberName, object[] Arguments, string[] ArgumentNames, Type[] TypeArguments, bool[] CopyBack);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Late binding is dynamic and cannot be statically analyzed. The referenced types and members may be trimmed")]
public static object? LateGet(object? Instance, Type? Type, string MemberName, object?[]? Arguments, string?[]? ArgumentNames, Type?[]? TypeArguments, bool[]? CopyBack);
public static object? LateGet(object? Instance, Type? Type, string MemberName, object?[]? Arguments, string?[]? ArgumentNames, Type?[]? TypeArguments, bool[]? CopyBack);
static member LateGet : obj * Type * string * obj[] * string[] * Type[] * bool[] -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Late binding is dynamic and cannot be statically analyzed. The referenced types and members may be trimmed")>]
static member LateGet : obj * Type * string * obj[] * string[] * Type[] * bool[] -> obj
Public Shared Function LateGet (Instance As Object, Type As Type, MemberName As String, Arguments As Object(), ArgumentNames As String(), TypeArguments As Type(), CopyBack As Boolean()) As Object
Paramètres
- Instance
- Object
Instance de l’objet d’appel exposant la propriété ou la méthode.
- Type
- Type
Type de l’objet d’appel.
- MemberName
- String
Nom de la propriété ou de la méthode sur l’objet d’appel.
- Arguments
- Object[]
Tableau contenant les arguments à passer à la propriété ou à la méthode appelée.
- ArgumentNames
- String[]
Tableau de noms d’arguments.
- TypeArguments
- Type[]
Tableau de types d’arguments ; utilisé uniquement pour les appels génériques pour passer des types d’arguments.
- CopyBack
- Boolean[]
Tableau de Boolean valeurs utilisées par le classeur tardif pour communiquer avec le site d’appel auquel les arguments correspondent aux ByRef paramètres. Chaque True valeur indique que les arguments correspondent et doivent être copiés une fois l’appel LateCall terminé.
Retours
Instance de l’objet d’appel.
- Attributs