Count property
The Count property returns the total number of instances of the ITarget interface that are contained in the ITargetscollection.
This property is read-only.
Syntax
HRESULT get_Count(
[out] LONG *pVal
);
Property value
The address of the variable that will receive the property's value.
Error codes
Count returns a standard HRESULT value.
Remarks
The Active Template Library (ATL) is used to implement this functionality. For more information about how ATL implements this functionality, see the ICollectionOnSTLImpl interface in the MSDN Library.
See also
Send comments about this topic to Microsoft
Build date: 1/12/2012