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.DoesHandlerExist

Gets whether or not a handler for the specified event descriptor exists in the code.

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

Parameters

name
The name of the handler to search for.
e
The event descriptor describing the methods signature

Return Value

true if the handler exists, otherwise false.

See Also

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