Public Member Functions | |
| HRESULT | Add ([in] IPktXPacket *pPacket) |
| 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 . | |
| IPktXPacket | 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.
| HRESULT IPktXPacketCollection::Add | ( | [in] IPktXPacket * | pPacket | ) |
| HRESULT IPktXPacketCollection::Remove | ( | [in] LONG | Index | ) |
HRESULT IPktXPacketCollection::Count [get] |
Number of items .
Returns number of items in the collection .
| HRESULT IPktXPacketCollection::Item | ( | [in] LONG | Index | ) | [get] |
Returns collection item with specified index.
| Index | a variable containing index of the item to be returned. |
HRESULT IPktXPacketCollection::_NewEnum [get] |
Returns collection enumerator object.
Returns enumerator object that implements IEnumVARIANT interface.