IRelationshipCol::get_Count

See Also

This method is used to retrieve a count of the number of relationships that are in the relationship collection.

HRESULT get_Count(
long   *piCount
);

Parameters

*piCount
[out]
The number of relationships in the collection.

Return Value

S_OK

The method completed successfully.

Error
Values

This method failed to complete successfully.

Remarks

Remember, each item in the collection is a versioned relationship. Thus, the returned count indicates how many objects are in the collection, not how many object versions.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.