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




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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