Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents information at the binding site of a variable.
Namespace/Module Path: Microsoft.FSharp.Quotations
Assembly: FSharp.Core (in FSharp.Core.dll)
[<Sealed>]
type Var =
class
interface IComparable
new Var : string * Type * bool option -> Var
static member Global : string * Type -> Var
member this.IsMutable : bool
member this.Name : string
member this.Type : Type
end
Remarks
This type is named FSharpVar in compiled assemblies. If you are accessing the type from a language other than F#, or through reflection, use this name.
Constructors
Member |
Description |
---|---|
Creates a new variable with the given name, type and mutability |
Instance Members
Member |
Description |
---|---|
Indicates if the variable represents a mutable storage location |
|
The declared name of the variable |
|
The type associated with the variable |
Static Members
Member |
Description |
---|---|
Fetches or creates a new variable with the given name and type from a global pool of shared variables indexed by name and type. |
Platforms
Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2
Version Information
F# Runtime
Supported in: 2.0, 4.0
Silverlight
Supported in: 3