NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IReflect.GetMethods

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[];

Parameters

bindingAttr
The binding attributes help control the search.

Return Value

An array of MethodInfo objects containing all the methods defined for this reflection object.

Remarks

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.

See Also

IReflect Interface | IReflect Members | System.Reflection Namespace | BindingFlags | BindingFlags