Syntax
| object.Variables
| ||||
---|---|---|---|---|---|
Description
| Collection of variables defined as name/value pairs.
Data TypeCollection of httpVariables with .Name and .Value properties.
RemarksUse HttpVariable Objects to store and manage variables. The value is a Variant type and may reference another object, data type, or value. See GetSessionVar and SetSessionVar methods for more information on this.
There are three different methods which can be used to access HttpVariables in an HttpVariables Collection:
1) Accessing HttpVariables using For EachDim var As New HttpVariable
For Each var In HttpVariables
ListBox1.AddItem var.Value
Next
2) Accessing HttpVariables using IndexDim i As Integer
For i = 1 To HttpVariables.Count
ListBox1.AddItem HttpVariables.Index(i).Value
Next
3) Accessing HttpVariables using Name'In this example, there are two variables (City and State)
ListBox1.AddItem HttpVariables("City")
ListBox1.AddItem HttpVariables("State")
| ||||
See Also
|