item method

Retrieves an object from a collection.

Syntax

object.item(pvarIndex)

Parameters

pvarIndex [in]

Type: Variant

Variant of type Integer or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching id properties are retrieved, and a collection is returned if more than one match is made.

Return value

Type: Variant

Returns an object or a collection of objects if successful, otherwise null.

Standards information

There are no standards that apply here.

See also

imports
styleSheets

 

 

Show:
© 2014 Microsoft