Bagikan melalui


CComDynamicUnkArray Members

Methods

Add

Call this method to add an IUnknown pointer to the array.

begin

Returns a pointer to the first IUnknown pointer in the collection.

clear

Empties the array.

CComDynamicUnkArray

Constructor. Initializes the collection values to NULL and the collection size to zero.

~CComDynamicUnkArray

The destructor.

end

Returns a pointer to one past the last IUnknown pointer in the collection.

GetAt

Retrieves the element at the specified index.

GetCookie

Call this method to get the cookie associated with a given IUnknown pointer.

GetSize

Returns the length of an array.

GetUnknown

Call this method to get the IUnknown pointer associated with a given cookie.

Remove

Call this method to remove an IUnknown pointer from the array.

See Also

Reference

CComDynamicUnkArray Class