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!

ICodeClass.FindMethods (ICodeParameter[], ICodeClass)

Finds all the methods in the class with the specified arguments and return type.

[Visual Basic]
Overloads Function FindMethods( _
   ByVal arguments() As ICodeParameter, _
   ByVal returnType As ICodeClass _
) As ICodeMethod ()
[C#]
ICodeMethod[] FindMethods(
   ICodeParameter[] arguments,
   ICodeClass returnType
);
[C++]
ICodeMethod* FindMethods(
   ICodeParameter* arguments[],
   ICodeClass* returnType
) [] = 0;
[JScript]
function FindMethods(
   arguments : ICodeParameter[],
   returnType : ICodeClass
) : ICodeMethod[];

Parameters

arguments
An array of type ICodeParameter that represents the arguments of the methods to find.
returnType
An ICodeClass that represents the return type of the methods to find.

Return Value

An array of type ICodeMethod representing the methods in the class matching the specified parameters. If no matching method is found, a null reference (in Visual Basic Nothing) is returned.

See Also

ICodeClass Interface | ICodeClass Members | System.ComponentModel.Design.CodeModel Namespace | ICodeClass.FindMethods Overload List