Collection Interface Reference

The Collection object is an ordered set of items. More...

List of all members.

Public Member Functions

 Remove ([in] VARIANT Index)
 Call this method to remove one item from the collection.
 Clear ()
 Removes all of the items from the collection.
 ExChange ([in] VARIANT A,[in] VARIANT B)
 Swaps the position of two items in the collection.

Properties

LPUNKNOWN R _NewEnum []
 Returns the enumerator for the collection.
VARIANT R Item [[in] long Index] []
 Returns the specified item in the collection.
long R Count []
 Returns the number of items in the collection.


Detailed Description

The Collection object is an ordered set of items.

Collections support the enumerations of items

See also Controls.


Member Function Documentation

Clear (  ) 

Removes all of the items from the collection.

ExChange ( [in] VARIANT  A,
[in] VARIANT  B 
)

Swaps the position of two items in the collection.

Parameters:
A The index of the first element or the element itself.
B The index of the second element or the element itself.

Remove ( [in] VARIANT  Index  ) 

Call this method to remove one item from the collection.

Parameters:
Index The index of the element to remove or the element itself.


Property Documentation

LPUNKNOWN R _NewEnum

Returns the enumerator for the collection.

long R Count

Returns the number of items in the collection.

VARIANT R Item[[in] long Index] (  ) 

Returns the specified item in the collection.


WSO 1.1 Documentation. Date modified:Wed Aug 12 18:12:21 2015. (C) Veretennikov A. B. 2004-2015