HttpStaticObjectsCollection.GetObject Method
.NET Framework 3.0
Returns the object with the specified name from the collection. This property is an alternative to the this accessor.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The following example returns an object named ArrayList1 from the StaticObjects collection and copies it to an object variable.
Object myObject;
myObject =
get_Application().get_StaticObjects().GetObject("ArrayList1");
var myObject : Object = Application.StaticObjects.GetObject("ArrayList1")
Community Additions
ADD
Show: