Utility components Item property
Default, read only indexed property. Retrieves the item from the collection

Syntax:

variable = object.Item(index)
variable = object.Item

IDL definition:

[propget, id(DISPID_VALUE), helpstring("property Item")] 
    HRESULT Item([in,optional] VARIANT varIndex, [out, retval] VARIANT *pVal);

Parameters:

object - Previously created UtilStringList object

variable - variable that will receive the item

index - optional numeric value specifying the item index (1-based). If omitted first item will be returned.

Examples:

var item = strlist(3)

Dim item
item = strlist.Item("Item 3")

Applies to: UtilStringList

See also: Add method

 

newObjects Copyright 2001-2005 newObjects [ ]