ITypeInfo.GetFuncDesc(Int32, IntPtr) 方法

定義

擷取包含所指定函式相關資訊的 FUNCDESC 結構。

public:
 void GetFuncDesc(int index, [Runtime::InteropServices::Out] IntPtr % ppFuncDesc);
public void GetFuncDesc (int index, out IntPtr ppFuncDesc);
abstract member GetFuncDesc : int * nativeint -> unit
Public Sub GetFuncDesc (index As Integer, ByRef ppFuncDesc As IntPtr)

參數

index
Int32

要傳回的函式描述之索引。

ppFuncDesc
IntPtr

nativeint

這個方法傳回時,包含描述指定函式的 FUNCDESC 結構之參考。 這個參數會以未初始化的狀態傳遞。

備註

參數的值 ppFuncDesc 可以透過 PtrToStructure 方法存取。

如需詳細資訊,請參閱 ITypeInfo::GetFuncDesc 方法

適用於