pmMDA.NET

DataObjectReflector.GetMethodInfo Method (IDataObject, String, Type[])

[This is preliminary documentation and subject to change.]

Gets the method info for a specified method.

public static MethodInfo GetMethodInfo(
   IDataObject dataObject,
   string methodName,
   params Type[] args
);

Parameters

dataObject
The owner of the method.
methodName
The name of the method.
args
The types of the method arguments.

Return Value

The method info which represents the method.

Exceptions

Exception Type Condition
ArgumentNullException dataObject or args is null.
Exception The method with the specified name could not be found.

See Also

DataObjectReflector Class | PmMda.Net.Dog.Reflection Namespace | DataObjectReflector.GetMethodInfo Overload List