Share via


Reflection.FSharpValue 클래스(F#)

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

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

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

[<AbstractClass>]
[<Sealed>]
type FSharpValue =
 class
  static member GetExceptionFields : obj * ?BindingFlags -> obj []
  static member GetRecordField : obj * PropertyInfo -> obj
  static member GetRecordFields : obj * ?BindingFlags -> obj []
  static member GetTupleField : obj * int -> obj
  static member GetTupleFields : obj -> obj []
  static member GetUnionFields : obj * Type * ?BindingFlags -> UnionCaseInfo * obj []
  static member MakeFunction : Type * (obj -> obj) -> obj
  static member MakeRecord : Type * obj [] * ?BindingFlags -> obj
  static member MakeTuple : obj [] * Type -> obj
  static member MakeUnion : UnionCaseInfo * obj [] * ?BindingFlags -> obj
  static member PreComputeRecordConstructor : Type * ?BindingFlags -> obj [] -> obj
  static member PreComputeRecordConstructorInfo : Type * ?BindingFlags -> ConstructorInfo
  static member PreComputeRecordFieldReader : PropertyInfo -> obj -> obj
  static member PreComputeRecordReader : Type * ?BindingFlags -> obj -> obj []
  static member PreComputeTupleConstructor : Type -> obj [] -> obj
  static member PreComputeTupleConstructorInfo : Type -> ConstructorInfo * Type option
  static member PreComputeTuplePropertyInfo : Type * int -> PropertyInfo * Type * int option
  static member PreComputeTupleReader : Type -> obj -> obj []
  static member PreComputeUnionConstructor : UnionCaseInfo * ?BindingFlags -> obj [] -> obj
  static member PreComputeUnionConstructorInfo : UnionCaseInfo * ?BindingFlags -> MethodInfo
  static member PreComputeUnionReader : UnionCaseInfo * ?BindingFlags -> obj -> obj []
  static member PreComputeUnionTagMemberInfo : Type * ?BindingFlags -> MemberInfo
  static member PreComputeUnionTagReader : Type * ?BindingFlags -> obj -> int
 end

정적 멤버

멤버

설명

GetExceptionFields

F# 예외 선언의 인스턴스를 사용하여 작성된 값에서 모든 필드를 읽습니다.

GetRecordField

레코드 값에서 필드를 읽습니다.

GetRecordFields

레코드 값에서 모든 필드를 읽습니다.

GetTupleField

튜플 값에서 필드를 읽습니다.

GetTupleFields

튜플의 모든 필드를 읽습니다.

GetUnionFields

개체에 대한 공용 구조체 케이스 및 해당 필드를 식별합니다.

MakeFunction

동적 함수 구현에서 개체의 형식화된 함수를 만듭니다.

MakeRecord

레코드 형식의 인스턴스를 만듭니다.

MakeTuple

튜플 형식의 인스턴스를 만듭니다.

MakeUnion

공용 구조체 케이스 값을 만듭니다.

PreComputeRecordConstructor

레코드 값을 생성하기 위한 함수를 미리 계산합니다.

PreComputeRecordConstructorInfo

레코드 형식에 대해 ConstructorInfo를 가져옵니다.

PreComputeRecordFieldReader

레코드에서 특정 필드를 읽기 위한 함수를 미리 계산합니다.

PreComputeRecordReader

레코드에서 모든 필드를 읽기 위한 함수를 미리 계산합니다. 필드가 반환되는 순서는 이 형식에 대한 Microsoft.FSharp.Reflection.Type.GetInfo를 호출하여 보고된 필드의 순서와 동일합니다.

PreComputeTupleConstructor

특정 튜플 형식 값을 읽기 위한 함수를 미리 계산합니다.

PreComputeTupleConstructorInfo

지정된 튜플 형식의 개체를 생성하는 메서드를 가져옵니다. 작은 튜플의 경우 추가 형식이 반환되지 않습니다.

PreComputeTuplePropertyInfo

튜플의 필드를 읽는 방법을 나타내는 정보를 가져옵니다.

PreComputeTupleReader

특정 튜플 형식 값을 읽기 위한 함수를 미리 계산합니다.

PreComputeUnionConstructor

특정 공용 구조체 케이스에 대해 구분된 공용 구조체 값을 생성하기 위한 함수를 미리 계산합니다.

PreComputeUnionConstructorInfo

지정된 케이스의 개체를 생성하는 메서드입니다.

PreComputeUnionReader

공용 구조체 형식의 특정 판별자 케이스에 대한 모든 필드를 읽는 데 필요한 함수를 미리 계산합니다.

PreComputeUnionTagMemberInfo

공용 구조체 형식의 케이스 태그를 나타내는 정수를 읽기 위해 속성 또는 정적 메서드를 미리 계산합니다.

PreComputeUnionTagReader

공용 구조체 형식의 태그를 읽는 함수를 미리 계산합니다.

플랫폼

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#)