Core.VolatileFieldAttribute-Klasse (F#)
Wenn dieses Attribut einer änderbaren F#-Bindung hinzugefügt wird, wird das Präfix volatile für jeden Zugriff auf das Feld verwendet.
Namespace/Modulpfad: Microsoft.FSharp.Core
Assembly: FSharp.Core (in FSharp.Core.dll)
[<AttributeUsage(AttributeTargets.Field, AllowMultiple = false)>]
[<Sealed>]
type VolatileFieldAttribute =
class
new VolatileFieldAttribute : unit -> VolatileFieldAttribute
end
Hinweise
Sie können auch die Kurzform des Namens VolatileField verwenden.
Konstruktoren
Member |
Description |
---|---|
Erstellt eine Instanz des Attributs. |
Plattformen
Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Versionsinformationen
F#-Kern-Bibliotheks-Versionen
Unterstützt in: 2,0, 4,0, portablen