Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates a new variable with the given name, type and mutability.
Namespace/Module Path: Microsoft.FSharp.Quotations
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature:
new Var : string * Type * ?bool -> Var
// Usage:
new Var (name, typ)
new Var (name, typ, isMutable = isMutable)
Parameters
name
Type: stringThe declared name of the variable.
typ
Type: TypeThe type associated with the variable.
isMutable
Type: boolIndicates if the variable represents a mutable storage location. The default value is false.
Return Value
The created variable.
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