Share via


ICcCollection::get_Count

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This method returns the number of items in a collection.

In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.

Syntax

HRESULT get_Count(
  long* pVal
);

Parameters

  • pVal
    [out, retval] Number of items in the collection.

Return Value

The following table shows return values for this method.

Value Description

E_INVALIDARG

Indicates that pVal is null.

S_OK

Indicates the method returned the count.

Requirements

Header ccdatastore.h

See Also

Reference

Core Connectivity Interfaces