System.Web Namespace HttpStaticObjectsCollection Class
Returns the object with the specified name from the collection. This property is an alternative to the this accessor.
[ VB ] Public Function GetObject ( _ ByVal name As String _ ) As Object [ C# ] public object GetObject ( string name ); [ C++ ] public: Object* GetObject ( String* name ); [ JScript ] public function GetObject ( name : String ) : Object;
An object from the collection.
The following example returns an object named ArrayList1 from the StaticObjects collection and copies it to an object variable.
[ VB ] Dim myObject As Object myObject = Application.StaticObjects.GetObject ( "ArrayList1" ) [ C# ] Object myObject; myObject = Application.StaticObjects.GetObject ( "ArrayList1" );
HttpStaticObjectsCollection Members HttpApplicationState.StaticObjects Property
© 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