EventHandlerService::GetHandler Method (Type^)
.NET Framework (current version)
Gets the currently active event handler of the specified type.
Assembly: System.Design (in System.Design.dll)
Parameters
- handlerType
-
Type:
System::Type^
The type of the handler to get.
Return Value
Type: System::Object^An instance of the handler, or null if there is no handler of the requested type.
You should never cache this value because other components are free to change it. This call is fairly quick, however, especially for cases when you are always asking for the same type of handler.
.NET Framework
Available since 1.1
Available since 1.1
Show: