MethodBuilder._MethodBuilder.GetTypeInfoCount(UInt32) 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取物件提供的類型資訊介面數目 (0 或 1)。
virtual void System.Runtime.InteropServices._MethodBuilder.GetTypeInfoCount([Runtime::InteropServices::Out] System::UInt32 % pcTInfo) = System::Runtime::InteropServices::_MethodBuilder::GetTypeInfoCount;
C#
void _MethodBuilder.GetTypeInfoCount(out uint pcTInfo);
abstract member System.Runtime.InteropServices._MethodBuilder.GetTypeInfoCount : uint32 -> unit
override this.System.Runtime.InteropServices._MethodBuilder.GetTypeInfoCount : uint32 -> unit
Sub GetTypeInfoCount (ByRef pcTInfo As UInteger) Implements _MethodBuilder.GetTypeInfoCount
- pcTInfo
- UInt32
指向接收物件提供的類型資訊介面數目的位置。
不支援使用 COM IDispatch
介面進行晚期繫結的存取。
此方法適用於從 Unmanaged 程式代碼存取 Managed 類別,不應從 Managed 程式代碼呼叫。 如需詳細資訊,請參閱 IDispatch::GetTypeInfoCount。
產品 | 版本 |
---|---|
.NET Framework | 1.1, 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 |