IRelationshipCol::get_Count

Meta Data Services Programming

Meta Data Services Programming

IRelationshipCol::get_Count

This method retrieves a count of the number of relationships that are in the relationship collection.

HRESULT get_Count(     long   *piCount
);

Parts

*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

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.

See Also

IRelationshipCol Interface