SetterBase.IsSealed Property


Gets a value that indicates whether this object is in an immutable state.

 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 an immutable state; otherwise, false.


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

Applies to