FSharp.Core


SealedAttribute Type

Adding this attribute to class definition makes it sealed, which means it may not be extended or implemented.

Constructors

Constructor Description

SealedAttribute(value)

Full Usage: SealedAttribute(value)

Parameters:
    value : bool - Indicates whether the class is sealed.

Returns: SealedAttribute SealedAttribute

Creates an instance of the attribute

value : bool

Indicates whether the class is sealed.

Returns: SealedAttribute

SealedAttribute

SealedAttribute()

Full Usage: SealedAttribute()

Returns: SealedAttribute The created attribute.

Creates an instance of the attribute.

Returns: SealedAttribute

The created attribute.

Instance members

Instance member Description

this.Value

Full Usage: this.Value

Returns: bool

The value of the attribute, indicating whether the type is sealed or not.

Returns: bool