Share via


Core.ReflectedDefinitionAttribute Class (F#)

Add this attribute to the let-binding for the definition of a top-level value to make the quotation expression that implements the value available for use at runtime. Add this attribute to a type or module to make it apply recursively to all the values in the module or all the members of the type.

Namespace/Module Path: Microsoft.FSharp.Core

Assembly: FSharp.Core (in FSharp.Core.dll)

[<AttributeUsage(AttributeTargets.Class ||| AttributeTargets.Method ||| AttributeTargets.Property ||| AttributeTargets.Constructor, AllowMultiple = false)>]
[<Sealed>]
type ReflectedDefinitionAttribute =
 class
  new ReflectedDefinitionAttribute : unit -> ReflectedDefinitionAttribute
 end

Remarks

You can also use the short form of the name, ReflectedDefinition.

Constructors

Member

Description

new

Creates an instance of the attribute

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Microsoft.FSharp.Core Namespace (F#)