次の方法で共有


Reflection.UnionCaseInfo クラス (F#)

判別共用体型のケースを表します。

名前空間/モジュール パス: Microsoft.FSharp.Reflection

アセンブリ: FSharp.Core (FSharp.Core.dll 内)

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

インスタンス メンバー

メンバー

説明

DeclaringType

ケースが発生する型。

GetCustomAttributes

指定した属性型と一致するケースと関連付けられたカスタム属性を返します。

GetFields

PropertyInfo で表される、ケースに関連付けられたフィールド。

名前

ケースの名前。

Tag

ケースの整数タグ。

プラットフォーム

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

バージョン情報

F# ランタイム

サポート対象: 2.0、4.0

Silverlight

サポート: 3

参照

その他の技術情報

Microsoft.FSharp.Reflection 名前空間 (F#)