C++ Builder 參考手冊(cè) ? System ? TObject ? GetInterfaceTable
頭文件:#include <systobj.h>
命名空間:System
函數(shù)原型:
__classmethod PInterfaceTable __fastcall GetInterfaceTable();
System::TObject::GetInterfaceTable 是 System::TObject 的成員函數(shù),獲取接口表。
返回值:
接口表。
- GetInterfaceTable 只返回當(dāng)前類實(shí)現(xiàn)的接口,不包含父類的,
如果要返回父類的接口,需要調(diào)用 ClassParent 獲取父類然后再獲取父類的接口。 - 返回指定的接口項(xiàng)目,可以使用 GetInterfaceEntry。
參考:
- System::TObject::ClassParent
- System::TObject::GetInterface
- System::TObject::GetInterfaceEntry
- System::Classes::TComponent::QueryInterface
- System::Classes::TComponent::IsImplementorOf
- System::Classes::TComponent::ReferenceInterface
- System::Classes::TComponent::GetTypeInfo
- System::Classes::TComponent::GetTypeInfoCount
- System::Classes::TComponent::GetIDsOfNames
- System::Classes::TComponent::operator _di_IInterface
- System::Classes::TInterfacedPersistent::operator _di_IInterface
- System::TObject
- VCL 類繼承關(guān)系
C++ Builder 參考手冊(cè) ? System ? TObject ? GetInterfaceTable