CDaoTableDef::GetIndexCount

short GetIndexCount();
  throw(CDaoException,CMemoryException);

返回值:表中的索引数。

说明:
调用这个成员函数,可以获取类的索引数量。如果值为0,则收集中没有索引。
有关表定义的更多信息,请参阅联机文档“Visual C++程序员指南”中的“DAO表定义”和“DAO表定义:使用表定义”。有关信息,请参阅DAO帮助中的“Count特性”。

请参阅:
CDaoTableDef::GetIndexInfo, CDaoTableDef::GetFieldInfo, CDaoTableDef::GetFieldCount