MemberInfo._MemberInfo.GetTypeInfoCount(UInt32) Method

Definition

擷取物件提供的類型資訊介面數目 (0 或 1)。Retrieves the number of type information interfaces that an object provides (either 0 or 1).

 virtual void System.Runtime.InteropServices._MemberInfo.GetTypeInfoCount([Runtime::InteropServices::Out] System::UInt32 % pcTInfo) = System::Runtime::InteropServices::_MemberInfo::GetTypeInfoCount;
void _MemberInfo.GetTypeInfoCount (out uint pcTInfo);
abstract member System.Runtime.InteropServices._MemberInfo.GetTypeInfoCount : uint32 -> unit
override this.System.Runtime.InteropServices._MemberInfo.GetTypeInfoCount : uint32 -> unit
Sub GetTypeInfoCount (ByRef pcTInfo As UInteger) Implements _MemberInfo.GetTypeInfoCount

Parameters

pcTInfo
UInt32

指向接收物件提供的類型資訊介面數目的位置。Points to a location that receives the number of type information interfaces provided by the object.

Implements

Exceptions

方法使用 COM IDispatch 介面進行晚期繫結呼叫。The method is called late-bound using the COM IDispatch interface.

Remarks

這個方法是用來從非受控程式碼存取 managed 類別,而且不應該從 managed 程式碼呼叫。This method is for access to managed classes from unmanaged code, and should not be called from managed code. 如需 IDispatch::GetTypeInfoCount的詳細資訊,請參閱 MSDN Library。For more information about IDispatch::GetTypeInfoCount, see the MSDN Library.

Applies to