Share via


Core.InterfaceAttribute-Klasse (F#)

Durch Hinzufügen dieses Attributs zu einem Typ wird dieser mit einer .NET Framework-Schnittstelle dargestellt.

Namespace/Modulpfad: Microsoft.FSharp.Core

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

[<AttributeUsage(1024, AllowMultiple = false)>]
[<Sealed>]
type InterfaceAttribute =
 class
  new InterfaceAttribute : unit -> InterfaceAttribute
 end

Hinweise

Sie können auch die Kurzform des Namens Interface verwenden.

Konstruktoren

Member

Beschreibungen

new

Erstellt eine Instanz des Attributs.

Plattformen

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Versionsinformationen

F#-Runtime

Unterstützt in: 2.0, 4.0

Silverlight

Unterstützt in: 3

Siehe auch

Weitere Ressourcen

Microsoft.FSharp.Core-Namespace (F#)