Editar

Compartilhar via


SetterBase.IsSealed Property

Definition

Gets a value that indicates whether this object is in an immutable 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 an immutable state; otherwise, false.

Remarks

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

Applies to