|Manuals

IJSMethods::Item Method

Description

Returns an item from the collection.

Syntax

[propget, id(0x00000000), defaultcollelem]
HRESULT _stdcall Item([in] VARIANT Index, [out, retval] IJSMethod** Value);

Parameters

Parameter Type Description
Index VARIANT OleVariant. Number indicating the index of the item in the collection or string indicating the name of the item.
Value IJSMethod** Output parameter that receives the selected item from the collection.

Return Value

Returns an IJSMethod interface pointer representing the requested item.