Поделиться через


CCmdTarget::GetTypeInfoCount

Retrieves the number of type information interfaces that an object provides.

virtual UINT GetTypeInfoCount( );

Возвращаемое значение

The number of type information interfaces.

Заметки

This member function basically implements IDispatch::GetTypeInfoCount.

Derived classes should override this function to return the number of type information interfaces provided (either 0 or 1). If not overridden, GetTypeInfoCount returns 0. To override, use the IMPLEMENT_OLETYPELIB macro, which also implements GetTypeLib and GetTypeLibCache.

Требования

Header: afxwin.h

См. также

Основные понятия

CCmdTarget Class

CCmdTarget Members

Hierarchy Chart

CCmdTarget::GetTypeLib

CCmdTarget::GetTypeLibCache