CustomAggregateMethodAnnotation.GetMethodInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.