Analysis Services Programming
Item (OlapMenuItems)
The Item property of an OlapMenuItems collection retrieves a specified item from the collection.
Syntax
object.Item(Index)
object
An instance of the OlapMenuItems collection.
Index
Specifies the index of the object to be retrieved from the collection. If it is an integer, Index specifies the ordinal position of the item in the collection. If it is a string, Index specifies the key assigned to the item when it was added to the collection.
Data Type
Remarks
Use this method to retrieve a specific OlapMenuItem reference from the collection.