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!

ICodeNavigatorService.GetDoesMethodExist

Gets whether or not a method of the specified name exists in the code.

[Visual Basic]
Function GetDoesMethodExist( _
   ByVal name As String, _
   ByVal argTypes() As Type _
) As Boolean
[C#]
bool GetDoesMethodExist(
   string name,
   Type[] argTypes
);
[C++]
bool GetDoesMethodExist(
   String* name,
   Type* argTypes[]
) = 0;
[JScript]
function GetDoesMethodExist(
   name : String,
   argTypes : Type[]
) : Boolean;

Parameters

name
The name of the method.
argTypes
The types of the arguments for the method.

Return Value

true if the method exists, otherwise false.

See Also

ICodeNavigatorService Interface | ICodeNavigatorService Members | System.ComponentModel.Design Namespace