HttpStaticObjectsCollection.IsReadOnly Propiedad

Definición

Obtiene un valor que indica si la colección es de solo lectura.

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

Valor de propiedad

Boolean

Siempre devuelve true.

Ejemplos

El código del ejemplo siguiente solo se ejecuta si la colección es de solo lectura.

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

Se aplica a