Share via


CustomAggregateMethodAnnotation.GetMethodInfo Method

Definition

Get an implementation of a method with the specifies returnType and methodToken. If there's no method that matches the requirements, returns null.

public bool GetMethodInfo (string methodToken, Type returnType, out System.Reflection.MethodInfo methodInfo);
member this.GetMethodInfo : string * Type * MethodInfo -> bool
Public Function GetMethodInfo (methodToken As String, returnType As Type, ByRef methodInfo As MethodInfo) As Boolean

Parameters

methodToken
String

The given method token.

returnType
Type

The given return type.

methodInfo
MethodInfo

The output of method info.

Returns

True if the method info was found, false otherwise.

Applies to