다음을 통해 공유


UnionCaseInfo.GetCustomAttributes 메서드(F#)

지정된 특성 형식과 일치하는 케이스에 연결된 사용자 지정 특성을 반환합니다.

네임스페이스/모듈 경로: 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

참고 항목

참조

Reflection.UnionCaseInfo 클래스(F#)

Microsoft.FSharp.Reflection 네임스페이스(F#)