ITypeInfo2.GetNames(Int32, String[], Int32, Int32) 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.
Récupère la variable avec l’ID de membre spécifié (ou le nom de la propriété ou de la méthode et ses paramètres) qui correspond à l’ID de fonction spécifié.
public:
void GetNames(int memid, cli::array <System::String ^> ^ rgBstrNames, int cMaxNames, [Runtime::InteropServices::Out] int % pcNames);
public void GetNames(int memid, string[] rgBstrNames, int cMaxNames, out int pcNames);
abstract member GetNames : int * string[] * int * int -> unit
Public Sub GetNames (memid As Integer, rgBstrNames As String(), cMaxNames As Integer, ByRef pcNames As Integer)
Paramètres
- memid
- Int32
ID du membre dont le nom (ou les noms) doit être retourné.
- rgBstrNames
- String[]
Lorsque cette méthode est retournée, contient le nom (ou les noms) associés au membre. Ce paramètre est passé non initialisé.
- cMaxNames
- Int32
Longueur du rgBstrNames tableau.
- pcNames
- Int32
Lorsque cette méthode est retournée, contient le nombre de noms dans le rgBstrNames tableau. Ce paramètre est passé non initialisé.
Implémente
Remarques
Pour plus d’informations, consultez la méthode ITypeInfo ::GetNames.