Header menu logo FSharp.Core

AutoSerializableAttribute Type

Adding this attribute to a type with value 'false' disables the behaviour where F# makes the type Serializable by default.

Constructors

Constructor Description

AutoSerializableAttribute(value)

Full Usage: AutoSerializableAttribute(value)

Parameters:
    value : bool - Indicates whether the type should be serializable by default.

Returns: AutoSerializableAttribute AutoSerializableAttribute

Creates an instance of the attribute

value : bool

Indicates whether the type should be serializable by default.

Returns: AutoSerializableAttribute

AutoSerializableAttribute

Instance members

Instance member Description

this.Value

Full Usage: this.Value

Returns: bool

The value of the attribute, indicating whether the type is automatically marked serializable or not

Returns: bool

Type something to start searching.