asp.net.ph

HttpStaticObjectsCollection.IsReadOnly Property

System.Web Namespace   HttpStaticObjectsCollection Class


Gets a value indicating whether the collection is read-only.

[ VB ]
Public ReadOnly Property IsReadOnly As Boolean

[ C# ]
public bool IsReadOnly {get;}

[ C++ ]
public: __property bool get_IsReadOnly ( );

[ JScript ]
public function get IsReadOnly ( ) : Boolean;

Property Value

Always returns true.

Example

[ VB, C# ] The code in the following example executes only if the collection is read-only.

[ VB ]
If Application.StaticObjects.IsReadOnly Then
   ' ... do whatever here
End If


[ C# ]
if ( Application.StaticObjects.IsReadOnly ) {
   // ... do whatever here
}
See Also

HttpStaticObjectsCollection Members   HttpApplicationState.StaticObjects Property 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