asp.net.ph

Application.Item Property

System.Web Namespace   HttpApplicationState Class


Gets access to an individual object in an HttpApplicationState collection. This property is overloaded to allow access to an object by name or numerical index.

In [ C# ], this property is the indexer for the HttpApplicationState class.

Overload List

1. Gets the value of a single HttpApplicationState object by name.

2. Gets a single HttpApplicationState object by index.


Example

The following example returns the first object ( index = 0 ) from the HttpApplicationState collection and assigns it as the value of a new object variable named myObject.

NOTE: This example shows how to use one of the overloaded versions of the Item property ( HttpApplicationState indexer ). For other examples that might be available, see the individual overload topics.

Object myObject = Application [ 0 ];
  C# VB JScript

See Also

HttpApplicationState Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph