IOListTSubscribeToTargetEvent Method |
Register event with this handler to be notified when the state of this AIOLines in the list
goes over the value specified and below the value specified.
If IOLines are subsequently added or removed then the events will also be applied
The same event cannot be added twice (function will return and do nothing)
The event can be unregistered using the UnsubscribeToTargetEvents
Namespace: Brainboxes.IOAssembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void SubscribeToTargetEvent(
ref AIOLineChangedEventHandler function,
double target
)
Public Sub SubscribeToTargetEvent (
ByRef function As AIOLineChangedEventHandler,
target As Double
)
member SubscribeToTargetEvent :
function : AIOLineChangedEventHandler byref *
target : float -> unit
Parameters
- function AIOLineChangedEventHandler
- Function to be run when event is triggered
- target Double
- Target value over or below which the event is triggered
See Also