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 程式庫。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應