HttpStaticObjectsCollection.IsReadOnly Property

 

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

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

public bool IsReadOnly { get; }

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)
{
   //...
}

.NET Framework
Available since 1.1
Return to top
Show: