IEventHandler.RemoveHandler(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, removes a named handler from the collection of event handlers.
public:
int RemoveHandler(System::String ^ bstrEventName);
public:
int RemoveHandler(Platform::String ^ bstrEventName);
int RemoveHandler(std::wstring const & bstrEventName);
public int RemoveHandler (string bstrEventName);
abstract member RemoveHandler : string -> int
Public Function RemoveHandler (bstrEventName As String) As Integer
Parameters
- bstrEventName
- String
The name of the event handler to remove.
Returns
S_OK if the method succeeds, otherwise an error code.