IPktXPacketCollection Interface Reference
[PacketX]

PacketCollection class default interface. More...

List of all members.

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.


Detailed Description

PacketCollection class default interface.

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


Member Function Documentation

HRESULT IPktXPacketCollection::Add ( [in] IPktXPacket pPacket  ) 

Adds new item into the collection .

Parameters:
pPacket an interface pointer to the Packet object.

HRESULT IPktXPacketCollection::Remove ( [in] LONG  Index  ) 

Removes item from the collection .

Parameters:
Index an index of the item to be removed.


Property Documentation

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.

Parameters:
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.


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

Copyright © 2000-2007 beeSync. All rights reserved.