Share via


SharedResources.Item Property (Access)

The Item property returns a specific member of a collection either by position or by index. Read-only Object.

Version Information

Version Added: Access 2010

Syntax

expression .Item(Index)

expression A variable that represents a SharedResources object.

Parameters

Name

Required/Optional

Data Type

Description

Index

Required

Long

Remarks

If the value provided for the index argument doesn't match any existing member of the collection, an error occurs.

The Item property is the default member of a collection, so you don't have to specify it explicitly. For example, the following two lines of code are equivalent:

Debug.Print Modules(0)

Debug.Print Modules.Item(0)

See Also

Concepts

SharedResources Collection

SharedResources Object Members