CapyKit/Documentation/Help/M_CapyKit_CapyEventReporter_Unsubscribe.md

37 lines
933 B
Markdown
Raw Normal View History

# Unsubscribe Method
Unsubscribes the specified event handler from the event with the given origin.
## Definition
2024-04-21 03:30:36 -05:00
**Namespace:** <a href="N_CapyKit.md">CapyKit</a>
2024-09-04 19:31:43 -05:00
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
**C#**
``` C#
public static void Unsubscribe(
CapyEventHandler callback,
string origin
)
```
**F#**
``` F#
static member Unsubscribe :
callback : CapyEventHandler *
origin : string -> unit
```
#### Parameters
2024-04-21 03:30:36 -05:00
<dl><dt>  <a href="T_CapyKit_CapyEventHandler.md">CapyEventHandler</a></dt><dd>The event handler to unsubscribe.</dd><dt>  <a href="https://learn.microsoft.com/dotnet/api/system.string" target="_blank" rel="noopener noreferrer">String</a></dt><dd>The name of the method or class where the subscription was made.</dd></dl>
## See Also
#### Reference
2024-04-21 03:30:36 -05:00
<a href="T_CapyKit_CapyEventReporter.md">CapyEventReporter Class</a>
<a href="N_CapyKit.md">CapyKit Namespace</a>