Share via


INameValueCollection::Count property

Retrieves the number of items in the collection.

This property is read-only.

Syntax

HRESULT get_Count(
  [out] long *pCount
);

Property value

The number of items.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

INameValueCollection

INameValueCollection::GetEnumerator