Public Member Functions | |
| HRESULT | Add ([in] IPktXAdapter *pAdapter) |
| Adds new item into the collection . | |
| HRESULT | Remove ([in] long Index) |
| Removes item from the collection . | |
| HRESULT | RemoveAll (void) |
| Removes all items from the collection . | |
Properties | |
| LONG | Count [get] |
| Number of items . | |
| IDispatch | Clone [get] |
| Copy the collection . | |
| IPktXAdapter | Item ([in] LONG Index) [get] |
| Returns collection item with specified index. | |
| IUnknown | _NewEnum [get] |
| Returns collection enumerator object. | |
This interface can be used to add , remove , access , enumerate and count collection items or clone the entire collection .
| HRESULT IPktXAdapterCollection::Add | ( | [in] IPktXAdapter * | pAdapter | ) |
Adds new item into the collection .
| pAdapter | an interface pointer to the Adapter object. |
| HRESULT IPktXAdapterCollection::Remove | ( | [in] long | inIndex | ) |
HRESULT IPktXAdapterCollection::Count [get] |
Number of items .
Returns number of items in the collection .
HRESULT IPktXAdapterCollection::Clone [get] |
Copy the collection .
Creates exact copy of the collection .
| ppClone | a pointer to variable receiving interface pointer to new AdapterCollection object. |
| HRESULT IPktXAdapterCollection::Item | ( | [in] LONG | Index | ) | [get] |
Returns collection item with specified index.
| Index | a variable containing index of the item to be returned. |
HRESULT IPktXAdapterCollection::_NewEnum [get] |
Returns collection enumerator object.
Returns enumerator object that implements IEnumVARIANT interface.