IPktXAdapterCollection Interface Reference
[PacketX]

AdapterCollection class default interface. More...

List of all members.

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.


Detailed Description

AdapterCollection class default interface.

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


Member Function Documentation

HRESULT IPktXAdapterCollection::Add ( [in] IPktXAdapter pAdapter  ) 

Adds new item into the collection .

Parameters:
pAdapter an interface pointer to the Adapter object.

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

Removes item from the collection .

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


Property Documentation

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 .

Parameters:
ppClone a pointer to variable receiving interface pointer to new AdapterCollection object.
Returns:
HRESULT error code.

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

Returns collection item with specified index.

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


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

Copyright © 2000-2007 beeSync. All rights reserved.