Public Member Functions | |
| HRESULT | Add ([in] IPktXStatistics *pStats) |
| 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 . | |
| IPktXStatistics | 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 IPktXStatisticsCollection::Add | ( | [in] IPktXStatistics * | pStats | ) |
Adds new item into the collection .
| pStats | an interface pointer to the Statistics object. |
| HRESULT IPktXStatisticsCollection::Remove | ( | [in] long | inIndex | ) |
Removes item from the collection .
| inIndex | an index of the item to be removed. |
| HRESULT IPktXStatisticsCollection::RemoveAll | ( | void | ) |
HRESULT IPktXStatisticsCollection::Count [get] |
| HRESULT IPktXStatisticsCollection::Item | ( | [in] LONG | Index | ) | [get] |
Returns collection item with specified index.
| Index | a variable containing index of the item to be returned. |
HRESULT IPktXStatisticsCollection::_NewEnum [get] |
Returns collection enumerator object.
Returns enumerator object that implements IEnumVARIANT interface.