Partager via


IXRAttachedObjectCollection.GetCount(int *) (Compact 2013)

3/28/2014

This method returns the number of objects in the collection.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetCount(
int *pCount)

Parameters

  • pCount
    [out] Pointer to a location in which to store the number of objects in the collection.

Return Value

Implement this method so that it returns S_OK if successful; otherwise, return the appropriate HRESULT value to indicate that the method was not successful.

Remarks

See Also

Reference

IXRAttachedObjectCollection