[Home] Type Microsoft.FSharp.Core.StructuralComparisonAttribute


Adding this attribute to a record, union or struct type with value 'false' disables the automatic generation of implementations for 'System.IComparable' for the type.

Full Type Signature

[<AttributeUsage (enum<AttributeTargets> (4))>]
type StructuralComparisonAttribute = class
                                       inherit Attribute
                                     end
                                     with
                                       new : value:bool -> StructuralComparisonAttribute
                                       new : unit -> StructuralComparisonAttribute
                                       member Value : bool
                                     end

Instance Members

MemberDescription
member Value : bool

Static Members

MemberDescription
new : value:bool -> StructuralComparisonAttribute
new : unit -> StructuralComparisonAttribute

See Also

Microsoft.FSharp.Core


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19