Bearbeiten

Freigeben über


HttpStaticObjectsCollection.IsReadOnly Property

Definition

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

public:
 property bool IsReadOnly { bool get(); };
public bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public ReadOnly Property IsReadOnly As Boolean

Property Value

Always returns true.

Examples

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

if (Application.StaticObjects.IsReadOnly)
{
   //...
}
If Application.StaticObjects.IsReadOnly Then
   '...
End If

Applies to