|Manuals

IJSArguments::Item Method

Description

This method retrieves a specific item from the collection.

Syntax

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

Parameters

Parameter Type Description
Index VARIANT (input) “OleVariant. Number indicating the index in the collection or string indicating the name of the method.”
Value IJSArgument** Returns the selected item from the collection

Details

  • Return Type: HRESULT
  • Calling Convention: _stdcall
  • Collection Element: Yes (defaultcollelem attribute)

See Also

This method is part of the IJSArguments Methods group and works with the IJSMethod interface for accessing method arguments by index or name.