다음을 통해 공유


Reflection.FSharpType 클래스(F#)

레코드, 공용 구조체 및 튜플과 같은 F# 형식의 생성 및 분석과 관련된 연산이 포함되어 있습니다.

네임스페이스/모듈 경로: Microsoft.FSharp.Reflection

어셈블리: FSharp.Core(FSharp.Core.dll)

[<AbstractClass>]
[<Sealed>]
type FSharpType =
 class
  static member GetExceptionFields : Type * ?BindingFlags -> PropertyInfo []
  static member GetFunctionElements : Type -> Type * Type
  static member GetRecordFields : Type * ?BindingFlags -> PropertyInfo []
  static member GetTupleElements : Type -> Type []
  static member GetUnionCases : Type * ?BindingFlags -> UnionCaseInfo []
  static member IsExceptionRepresentation : Type * ?BindingFlags -> bool
  static member IsFunction : Type -> bool
  static member IsModule : Type -> bool
  static member IsRecord : Type * ?BindingFlags -> bool
  static member IsTuple : Type -> bool
  static member IsUnion : Type * ?BindingFlags -> bool
  static member MakeFunctionType : Type * Type -> Type
  static member MakeTupleType : Type [] -> Type
 end

정적 멤버

멤버

설명

GetExceptionFields

F# 예외 선언의 모든 필드를 선언 순서대로 읽습니다.

GetFunctionElements

F# 함수 형식이나 F# 형식을 구현하는 클로저의 런타임 형식에서 도메인 및 범위 형식을 가져옵니다.

GetRecordFields

레코드 값의 모든 필드를 선언 순서대로 읽습니다.

GetTupleElements

F# 튜플 형식의 표현에서 튜플 요소를 가져옵니다.

GetUnionCases

공용 구조체 형식의 케이스를 가져옵니다.

IsExceptionRepresentation

지정된 형식이 F# 예외 선언의 표현인 경우 true를 반환합니다.

IsFunction

지정된 형식이 F# 함수 형식의 표현이거나 F# 함수 형식을 구현하는 클로저의 런타임 형식인 경우 true를 반환합니다.

IsModule

true가 F# 모듈의 컴파일된 형식에 해당하는 Type 값인 경우 true를 반환합니다.

IsRecord

지정한 형식이 F# 레코드 형식의 표현인 경우 true를 반환합니다.

IsTuple

지정한 형식이 F# 튜플 형식의 표현인 경우 true를 반환합니다.

IsUnion

지정된 형식이 F# 공용 구조체 형식 또는 해당 형식 값의 런타임 형식에 대한 표현인 경우 true를 반환합니다.

MakeFunctionType

지정된 도메인 및 범위가 포함된 F# 함수 형식을 나타내는 Type object을 반환합니다.

MakeTupleType

지정된 요소 형식이 포함된 F# 튜플 형식을 나타내는 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

참고 항목

참조

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