title Module::GetObjectCount Method | Microsoft Docs ms.custom ms.date 11/04/2016 ms.reviewer ms.suite ms.technology cpp-windows ms.tgt_pltfrm ms.topic reference f1_keywords module/Microsoft::WRL::Module::GetObjectCount dev_langs C++ helpviewer_keywords GetObjectCount method ms.assetid 9fe29747-7e7f-40f2-9f6b-9a206b17fa8e caps.latest.revision 5 author mikeblome ms.author mblome manager ghogen translation.priority.ht de-de es-es fr-fr it-it ja-jp ko-kr ru-ru zh-cn zh-tw translation.priority.mt cs-cz pl-pl pt-br tr-tr Module::GetObjectCount Method Retrieves the number of objects managed by this module. Syntax virtual long GetObjectCount() const; Return Value The current number of objects managed by this module. Requirements Header: module.h Namespace: Microsoft::WRL See Also Module Class