แก้ไข

แชร์ผ่าน


PropertyMetadata.IsSealed Property

Definition

Gets a value that indicates whether the PropertyMetadata has been applied to a property resulting in the immutable state.

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

Property Value

true if the PropertyMetadata is immutable; otherwise, false.

Remarks

When the PropertyMetadata.IsSealed is equal to true, the following operations cause a InvalidOperationException to be raised:

Applies to