UCOMITypeInfo.GetVarDesc(Int32, IntPtr) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取 VARDESC 描述指定變數的結構。
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
要回傳變數描述的索引。
- ppVarDesc
-
IntPtr
nativeint
成功返回時,會有一個描述指定變數的參考 VARDESC 。
備註
的 ppVarDesc 值可透過 PtrToStructure存取。
欲了解更多資訊 ITypeInfo::GetVarDesc,請參閱MSDN圖書館。