ITypeInfo.GetVarDesc(Int32, IntPtr) Metodo
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Recupera una struttura VARDESC
che descrive la variabile specificata.
public:
void GetVarDesc(int index, [Runtime::InteropServices::Out] IntPtr % ppVarDesc);
public void GetVarDesc(int index, out IntPtr ppVarDesc);
abstract member GetVarDesc : int * nativeint -> unit
Public Sub GetVarDesc (index As Integer, ByRef ppVarDesc As IntPtr)
- index
- Int32
Indice della descrizione della variabile da restituire.
- ppVarDesc
-
IntPtr
nativeint
Quando termina, questo metodo contiene un riferimento alla struttura VARDESC
che descrive la variabile specificata. Questo parametro viene passato non inizializzato.
È possibile accedere ai valori del ppVarDesc
parametro tramite il PtrToStructure metodo .
Per altre informazioni, vedere Metodo ITypeInfo::GetVarDesc.
Prodotto | Versioni |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1 |
UWP | 10.0 |
Feedback su .NET
.NET è un progetto open source. Seleziona un collegamento per fornire feedback: