IADsPropertyList::get_PropertyCount

Gets the number of items in the property list.

HRESULT get_PropertyCount(
  LONG * plCount  //Property count
);
 

Parameters

plCount
[out] Address of a caller-allocated variable that contains the property count.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK
The number of items in the property list was returned.