IEventHandler::HandlesEvent Method (String^)

 

When implemented by a derived class, determines whether a named handler is in the event handler collection.

Namespace:   Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

bool HandlesEvent(
	String^ bstrEventName
)

Parameters

bstrEventName
Type: System::String^

The name of the evaluated handler.

Return Value

Type: System::Boolean

true if the handler is in the underlying handler collection, otherwise false.

Return to top
Show: