指定した属性型と一致するケースと関連付けられたカスタム属性を返します。
名前空間/モジュール パス: Microsoft.FSharp.Reflection
アセンブリ: FSharp.Core (FSharp.Core.dll 内)
// Signatures:
member this.GetCustomAttributes : Type -> obj []
member this.GetCustomAttributes : unit -> obj []
// Usage:
unionCaseInfo.GetCustomAttributes (attributeType)
unionCaseInfo.GetCustomAttributes ()
パラメーター
attributeType
型: Type返す属性の型。
戻り値
カスタム属性の配列。
プラットフォーム
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