Item property

This property is implemented by the following interfaces. Click one of the links below to jump to the description of the property as it pertains to that interface.

IERUCollection
IERUCustomContext
IERUSEvent_ItemAccessChange
IERUSEvent_AddFile_After
IERUSEvent_Column
IERUSEvent_Item
IERUSEvent_ItemCopy
IERUSEvent_Link
IERUSEvent_ItemMove
IERUSEvent_ReplaceFile_After
IERUSEvent_ReplaceFile_Before

 

 

Item property

For IERUCollection, given an index returns the specified member of a collection.

The item property is similar to a method in that you must pass a parameter (name or a numeric index) when you access it. Item is the default property of a collection, so that when programming with Visual Basic, you can refer to either object.Item(n), or simply, object(n).

Example

Set MyItem = Object.Item(1)
Set
MyItem = Object.Item("Name")  

Syntax


C++

HRESULT get_Item(
VARIANT pIndex,
VARIANT*
pRetVal
)

Scripting languages

Value = Object.Item(pIndex)

Go to Top

Home

Applies to

IERUCollection

 

 

Item property

For IERUCustomContext, returns the item that is the target of the command. Throws an INVALID_OPERATION error if the target is not an item.

For IERUSEvent_AddFile_After, returns the item interface for the file that was added.

For IERUSEvent_ReplaceFile_After and IERUSEvent_ReplaceFile_Before, returns the item interface for the file that is being replaced.

For IERUSEventItemCopy, returns the new item (after the event only).

For IERUSEventColumn, returns the Database item that contains the Column.

For IERUSEventItem, returns the item's interface. Throws an EROOM_E_INVALIDOPERATION error if you attempt to access the Item property for an Add Item Before or a Delete Item After synchronous event.

For IERUSEvent_Link, returns the item that is being linked or unlinked.

Syntax


C++

HRESULT get_Item(IERUItem** ppItem)

Scripting languages

Item = Object.Item

Go to Top

Home

Applies to

IERUCustomContext
IERUSEvent_AddFile_After

IERUSEvent_Column

IERUSEvent_Item

IERUSEvent_ItemAccessChange

IERUSEvent_ItemCopy

IERUSEvent_Link

IERUSEvent_ItemMove

IERUSEvent_ReplaceFile_After

IERUSEvent_ReplaceFile_Before