Expression.TryGetFuncType(Type[], Type) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
Type 특정 형식 인수가 있는 제네릭 System.Func 대리자 형식을 나타내는 개체를 만듭니다. 마지막 형식 인수는 만든 대리자의 반환 형식을 지정합니다.
public:
static bool TryGetFuncType(cli::array <Type ^> ^ typeArgs, [Runtime::InteropServices::Out] Type ^ % funcType);
public static bool TryGetFuncType(Type[] typeArgs, out Type funcType);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")]
public static bool TryGetFuncType(Type[] typeArgs, out Type? funcType);
public static bool TryGetFuncType(Type[] typeArgs, out Type? funcType);
static member TryGetFuncType : Type[] * Type -> bool
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")>]
static member TryGetFuncType : Type[] * Type -> bool
Public Shared Function TryGetFuncType (typeArgs As Type(), ByRef funcType As Type) As Boolean
매개 변수
- typeArgs
- Type[]
System.Func 대리자 형식의 형식 인수를 지정하는 Type 개체의 배열입니다.
- funcType
- Type
이 메서드가 반환되면 특정 형식 인수가 있는 제네릭 System.Func 대리자 형식이 포함됩니다. 에 일치하는 제네릭 System.Func 대리자가 없는 경우 null을 typeArgs포함합니다. 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.
반품
true 특정 typeArgs에 대해 제네릭 System.Func 대리자 형식을 만들었으면 이고, false그렇지 않으면 .
- 특성