HttpStaticObjectsCollection.IsReadOnly Propriété

Définition

Obtient une valeur indiquant si la collection est en lecture seule.

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

Valeur de propriété

Retourne toujours true.

Exemples

Le code de l’exemple suivant s’exécute uniquement si la collection est en lecture seule.

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

S’applique à