Visual Basic (Declaration) | |
---|---|
Public Shared Function GetMethodByExample (Of TIn,TOut)( _ ByVal prototypeLambda As Expression(Of Func(Of TIn,TOut)), _ ByVal ParamArray resolvedTypes() As Type _ ) As MethodInfo |
Visual Basic (Usage) | ![]() |
---|---|
Dim prototypeLambda As Expression(Of Func(Of TIn,TOut)) Dim resolvedTypes() As Type Dim value As MethodInfo value = TypeFns.GetMethodByExample(Of TIn, TOut)(prototypeLambda, resolvedTypes) |
C# | |
---|---|
public static MethodInfo GetMethodByExample<TIn,TOut>( Expression<Func<TIn,TOut>> prototypeLambda, params Type[] resolvedTypes ) |
C++/CLI | |
---|---|
public: static MethodInfo^ GetMethodByExamplegeneric<typename TIn> generic<typename TOut> ( Expression<Func<TIn^,TOut^>^>^ prototypeLambda, ... array<Type^>^ resolvedTypes ) |
Parameters
- prototypeLambda
- resolvedTypes
Type Parameters
- TIn
- TOut
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family