System.Web Namespace HttpApplicationState Class
Adds a new object to the HttpApplicationState collection.
[ VB ] Public Sub Add ( _ ByVal name As String, _ ByVal value As Object _ ) [ C# ] public void Add ( string name, object value ); [ C++ ] public: void Add ( String* name, Object* value ); [ JScript ] public function Add ( name : String, value : Object );
The following example adds a variable named myAppVar to the application state collection.
Application.Add ( "myAppVar", myObject );
Application.Add ( "myAppVar", myObject )
HttpApplicationState Members
© 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