Miner.Responder.TroubleMaker Assembly > TinyIoC Namespace > TypeExtensions Class : GetGenericMethod Method |
'Declaration <ExtensionAttribute()> Public Shared Function GetGenericMethod( _ ByVal sourceType As Type, _ ByVal bindingFlags As BindingFlags, _ ByVal methodName As String, _ ByVal genericTypes() As Type, _ ByVal parameterTypes() As Type _ ) As MethodInfo
'Usage Dim sourceType As Type Dim bindingFlags As BindingFlags Dim methodName As String Dim genericTypes() As Type Dim parameterTypes() As Type Dim value As MethodInfo value = TypeExtensions.GetGenericMethod(sourceType, bindingFlags, methodName, genericTypes, parameterTypes)
[Extension()] public static MethodInfo GetGenericMethod( Type sourceType, BindingFlags bindingFlags, string methodName, Type[] genericTypes, Type[] parameterTypes )
Exception | Description |
---|---|
System.Reflection.AmbiguousMatchException | |
System.ArgumentException |
Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)
Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.