Compartilhar via


Classe Core.InterfaceAttribute (F#)

Adicione esse atributo para um tipo faz a ser representado usando uma interface .NET Framework.

Namespace/Module Path: Microsoft.FSharp.Core

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

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

Comentários

Você também pode usar a forma curta de nome, Interface.

Construtores

Membro

Descrição

novo

Cria uma instância de um atributo

Plataformas

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

Informações de Versão

Versões da biblioteca principal de F#

Suportado em: 2,0, 4,0, portáteis

Consulte também

Referência

Namespace Microsoft.FSharp.Core (F#)