System.Web Namespace HttpStaticObjectsCollection Class
Gets the number of objects in the collection.
[ VB ] Public ReadOnly Property Count As Integer Implements _ ICollection.Count [ C# ] public int Count {get;} [ C++ ] public: __property int get_Count ( ); [ JScript ] public function get Count ( ) : int;
The number of objects in the collection.
ICollection.Count
[ VB, C# ] The code in the following example executes only if the number of objects in the collection exceeds five.
[ VB ] If Application.StaticObjects.Count > 5 Then ' ... do whatever here End If [ C# ] if ( Application.StaticObjects.Count > 5 ) { // ... do whatever here }
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