Classe Reflection.UnionCaseInfo (F#)

Rappresenta un case di un tipo di unione discriminata.

Percorso spazio dei nomi/modulo: Microsoft.FSharp.Reflection

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

[<Sealed>]
type UnionCaseInfo =
 class
  member this.GetCustomAttributes : Type -> obj []
  member this.GetCustomAttributes : unit -> obj []
  member this.GetCustomAttributesData : unit -> IList<CustomAttributeData>
  member this.GetFields : unit -> PropertyInfo []
  member this.DeclaringType :  Type
  member this.Name :  string
  member this.Tag :  int
 end

Membri di istanza

Membro

Descrizione

DeclaringType

Il tipo in cui si verifica il case.

GetCustomAttributes

Restituisce gli attributi personalizzati associati al case corrispondente al tipo di attributo specificato.

GetCustomAttributesData

Restituisce i dati di attributi personalizzati associati al case.

GetFields

Campi associati al case rappresentato da PropertyInfo

Nome

Nome del case.

Tag

Il tag Integer per il case.

Piattaforme

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

Informazioni sulla versione

Versioni della libreria di base F#

Supportato in: 2,0, 4,0, portabile

Vedere anche

Riferimenti

Spazio dei nomi Microsoft.FSharp.Reflection (F#)