Retrieves an array of MethodInfo objects with all public methods or all methods of the current class.
[Visual Basic] Function GetMethods( _ ByVal bindingAttr As BindingFlags _ ) As MethodInfo () [C#] MethodInfo[] GetMethods( BindingFlags bindingAttr ); [C++] MethodInfo* GetMethods( BindingFlags bindingAttr ) [] = 0; [JScript] function GetMethods( bindingAttr : BindingFlags ) : MethodInfo[];
An array of MethodInfo objects containing all the methods defined for this reflection object.
The GetMethods method retrieves an array of MethodInfo objects corresponding to all public methods or to all methods of the current class
The nonpublic attribute of bindingAttr is indicated only if public methods are returned.
An example of a binding attribute value is IgnoreCase.
IReflect Interface | IReflect Members | System.Reflection Namespace | BindingFlags | BindingFlags