Editar

Compartir a través de


SetterBaseCollection.IsSealed Property

Definition

Gets a value that indicates whether this object is in a read-only state.

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

Property Value

true if this object is in a read-only state and cannot be changed; otherwise, false.

Remarks

If this property returns true and you try to modify the state of the object, an exception is thrown.

Applies to