This method retrieves a count of the number of relationships that are in the relationship collection.
HRESULT get_Count(
long *piCount
);
*piCount
[out]
The number of relationships in the collection.
S_OK
The method completed successfully.
This method failed to complete successfully.
Each item in the collection is a versioned relationship. Thus, the returned count indicates how many objects are in the collection, not the number of object versions.