TObject::GetInterfaceTable - C++ Builder

C++ Builder 参考手册 ➙ System ➙ TObject ➙ GetInterfaceTable


头文件:#include
命名空间:System
函数原型:

__classmethod PInterfaceTable __fastcall GetInterfaceTable();

System::TObject::GetInterfaceTable 是 System::TObject 的成员函数,获取接口表。

返回值:
接口表。

  • GetInterfaceTable 只返回当前类实现的接口,不包含父类的,
    如果要返回父类的接口,需要调用 ClassParent 获取父类然后再获取父类的接口。
  • 返回指定的接口项目,可以使用 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 类继承关系

C++ Builder 参考手册 ➙ System ➙ TObject ➙ GetInterfaceTable

你可能感兴趣的:(TObject::GetInterfaceTable - C++ Builder)