C++ Builder 參考手冊(cè) ? TComponent ? GetTypeInfoCount
頭文件:#include <System.Classes.hpp>
命名空間:System::Classes
類:TComponent
訪問(wèn)權(quán)限:protected:
函數(shù)原型:
HRESULT __stdcall GetTypeInfoCount(/* out */ int &Count);
System::Classes::TComponent::GetTypeInfoCount 是 System::Classes::TComponent 的成員函數(shù),如果封裝的是 IDispatch 會(huì)實(shí)現(xiàn) IDispatch 的 GetTypeInfoCount 返回類型信息的個(gè)數(shù)。
參數(shù):
Count:返回類型信息的個(gè)數(shù),如果支持類型信息,返回 1,否則返回 0;
返回值:
S_OK:成功;
E_NOTIMPL:失敗。
- 如果封裝的是 IDispatch 會(huì)實(shí)現(xiàn) IDispatch 的 GetTypeInfoCount 。
參考:
- System::Classes::TComponent::GetTypeInfo
- System::Classes::TComponent::GetIDsOfNames
- System::Classes::TComponent::Invoke
- System::Classes::TComponent
- System::Classes::TPersistent
- System::TObject
- VCL 類繼承關(guān)系
C++ Builder 參考手冊(cè) ? TComponent ? GetTypeInfoCount