_ILGenerator.GetTypeInfoCount(UInt32) 方法

定義

擷取物件提供的類型資訊介面數目 (0 或 1)。

public:
 void GetTypeInfoCount([Runtime::InteropServices::Out] System::UInt32 % pcTInfo);
public void GetTypeInfoCount (out uint pcTInfo);
abstract member GetTypeInfoCount : uint32 -> unit
Public Sub GetTypeInfoCount (ByRef pcTInfo As UInteger)

參數

pcTInfo
UInt32

當這個方法傳回時,包含接收物件提供的類型資訊介面數目的位置指標。 這個參數會以未初始化的狀態傳遞。

備註

這個方法是用來從非受控碼存取 managed 類別,不應該從 managed 程式碼呼叫。 如需詳細資訊,請參閱 IDispatch:: GetTypeInfoCount

適用於