IPktXStatisticsCollection Interface Reference
[PacketX]

StatisticsCollection class default interface. More...

List of all members.

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.


Detailed Description

StatisticsCollection class default interface.

This interface can be used to add , remove , access , enumerate and count collection items .


Member Function Documentation

HRESULT IPktXStatisticsCollection::Add ( [in] IPktXStatistics pStats  ) 

Adds new item into the collection .

Parameters:
pStats an interface pointer to the Statistics object.
Returns:
HRESULT error code.

HRESULT IPktXStatisticsCollection::Remove ( [in] long  inIndex  ) 

Removes item from the collection .

Parameters:
inIndex an index of the item to be removed.
Returns:
HRESULT error code.

HRESULT IPktXStatisticsCollection::RemoveAll ( void   ) 

Removes all items from the collection .

Returns:
HRESULT error code.


Property Documentation

HRESULT IPktXStatisticsCollection::Count [get]

Number of items .

Returns number of items in the collection .

Returns:
HRESULT error code.

HRESULT IPktXStatisticsCollection::Item ( [in] LONG  Index  )  [get]

Returns collection item with specified index.

Parameters:
Index a variable containing index of the item to be returned.
Returns:
HRESULT error code.

HRESULT IPktXStatisticsCollection::_NewEnum [get]

Returns collection enumerator object.

Returns enumerator object that implements IEnumVARIANT interface.

Returns:
HRESULT error code.


The documentation for this interface was generated from the following file:

Copyright © 2000-2007 beeSync. All rights reserved.