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 (ICodeClass[], ICodeClass)

Finds all the methods with the specified argument types and return type.

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

Parameters

arguments
An array of type ICodeClass that represents the classes of the arguments to search for.
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