3.10 ServerVariables Collection

Retrieves the values of predetermined environment variables in the HTTP query string.

3.10.1 Count property

Returns the total number of Variable objects in the ServerVariables collection.

Syntax

object.Count

Type

Long.

Attributes

Read-only.

3.10.2 HasMoreElements property

Determines whether the ServerVariables collection contains more Variable objects.

Syntax

object.HasMoreElements

Type

Boolean.

Attributes

Read-only.

3.10.3 Element method

Retrieves the Variable object specified by the Key parameter.

Syntax

object.Element(
   Key As AnyType)

Parameters

Key

The object to retrieve. Can be either a String that corresponds to the name of the variable, or an Integer value that represents the variable's index.

Return Values

Read-only.

3.10.4 Item method

Retrieves the Variable object corresponding to the specified key value.

Syntax

object.Item(
   Key As AnyType)

Parameters

Key

String/Integer. String value represents the name of a variable and the integer represents the variable's index.

Return Values

Variable object.

Remarks

None.

3.10.5 Next method

Retrieves the next Variable object in the collection.

Syntax

object.Next()

Parameters

None.

Return Values

Variable.

3.10.6 Reset method

Resets the pointer to the first object in the collection.

Syntax

object.Reset()

Parameters

None.

Return Values

Void.