Returns a context object property.
Applies To
Syntax
objectcontext.Item(name)
Part
objectcontext
An object variable that evaluates to the ObjectContext associated with the current object.
name
The name of the context object property to be retrieved.
Return Value
The requested context object property.
Remarks
You can use Item to retrieve the following Microsoft Internet Information Server (IIS) built-in objects:
For more information, see the IIS documentation.
The Item method is the default method for a collection. Therefore, the following lines of code are equivalent:
oc("Response").Write "<p>" & prop & "</p>"
oc.Item("Response").Write "<p>" & prop & "</p>"