System.Reflection.Module.GetMethod C# (CSharp) Method

GetMethod() public method

public GetMethod ( String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : MethodInfo
name String
bindingAttr BindingFlags
binder Binder
callConvention CallingConventions
types Type
modifiers ParameterModifier
return MethodInfo
        public MethodInfo GetMethod(
            String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
        {
            if (name == null)
                throw new ArgumentNullException("name");

            if (types == null)
                throw new ArgumentNullException("types");

            for (int i =0;i < types.Length;i++)
            {
                if (types[i] == null)
                    throw new ArgumentNullException("types");
            }

            return GetMethodImpl(name,bindingAttr,binder,callConvention,types,modifiers);
            
        }
        

Same methods

Module::GetMethod ( String name ) : MethodInfo
Module::GetMethod ( String name, Type types ) : MethodInfo