This documentation is archived and is not being maintained.
HttpStaticObjectsCollection.IsReadOnly Property
.NET Framework 1.1
Gets a value indicating whether the collection is read-only.
[Visual Basic] 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
The code in the following example executes only if the collection is read-only.
[Visual Basic] If Application.StaticObjects.IsReadOnly Then '... End If [C#] if (Application.StaticObjects.IsReadOnly) { //... } [C++] if (Application->StaticObjects->IsReadOnly) { //... } [JScript] if(Application.StaticObjects.IsReadOnly){ //... }
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpStaticObjectsCollection Class | HttpStaticObjectsCollection Members | System.Web Namespace
Show: