IEventHandler.HandlesEvent(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented by a derived class, determines whether a named handler is in the event handler collection.
public:
bool HandlesEvent(System::String ^ bstrEventName);
public:
bool HandlesEvent(Platform::String ^ bstrEventName);
bool HandlesEvent(std::wstring const & bstrEventName);
public bool HandlesEvent (string bstrEventName);
abstract member HandlesEvent : string -> bool
Public Function HandlesEvent (bstrEventName As String) As Boolean
Parameters
- bstrEventName
- String
The name of the evaluated handler.
Returns
true
if the handler is in the underlying handler collection, otherwise false
.