asp.net.ph

Application.Set Method

System.Web Namespace   HttpApplicationState Class


Updates the value of an object in an HttpApplicationState collection.

[ VB ]
Public Sub Set ( _
   ByVal name As String, _
   ByVal value As Object _
)

[ C# ]
public void Set (
   string name,
   object value
);

[ C++ ]
public: void Set (
   String* name,
   Object* value
);

[ JScript ]
public function Set (
   name : String,
   value : Object
);

Parameters

name
The name of the object to be updated.
value
The updated value of the object.

Example

The following example updates the value of an existing application state variable.

Application.Set ( "myAppVar", myNewObjectValue );
  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