# Subscribe Method Subscribes the specified event handler to the event with the given subscription level and origin. ## Definition **Namespace:** CapyKit **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d **C#** ``` C# public static void Subscribe( CapyEventHandler callback, EventLevel subscriptionLevel, string origin = null ) ``` **VB** ``` VB Public Shared Sub Subscribe ( callback As CapyEventHandler, subscriptionLevel As EventLevel, Optional origin As String = Nothing ) ``` **C++** ``` C++ public: static void Subscribe( CapyEventHandler^ callback, EventLevel subscriptionLevel, String^ origin = nullptr ) ``` **F#** ``` F# static member Subscribe : callback : CapyEventHandler * subscriptionLevel : EventLevel * ?origin : string (* Defaults: let _origin = defaultArg origin null *) -> unit ``` #### Parameters