HttpStaticObjectsCollection.IsReadOnly Property

 

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

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

Public ReadOnly Property IsReadOnly As Boolean

Property Value

Type: System.Boolean

Always returns true.

The code in the following example executes only if the collection is read-only.

If Application.StaticObjects.IsReadOnly Then
   '...
End If

.NET Framework
Available since 1.1
Return to top
Show: