APGen Documentation Previous Topic: ScriptArguments.Count Next Topic: ScriptArguments.Add() Parent Topic: ScriptArguments Object    ScriptArguments Object
ScriptArguments.Item
See Also:

The ScriptArguments.Item property sets/returns an item in the collection.

Syntax

VBScript:

oArguments[.Item]( index )

JScript:

oArguments[.Item]( index );
Object

oArguments A ScriptArguments object.

Parameters

index A zero-based index to the collection.

Notes

Item is the default property, so the ".Item" text can be omitted.

Items are accessed using a numeric index.  To set an item in the collection:

' Set an item using an index
Script.Arguments(1) = "arg1"

To retrieve an item from the collection:

' Retrieve an item using an index
s = Script.Arguments(1)

Applies To

ScriptArguments Object