Share via


IEventPatternSource<TEventArgs>.OnNext Event

Raises the Next event signaling the next element in the data stream.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Event OnNext As EventHandler(Of TEventArgs)
'Usage
Dim instance As IEventPatternSource
Dim handler As EventHandler(Of TEventArgs)

AddHandler instance.OnNext, handler
event EventHandler<TEventArgs> OnNext
 event EventHandler<TEventArgs>^ OnNext {
    void add (EventHandler<TEventArgs>^ value);
    void remove (EventHandler<TEventArgs>^ value);
}
abstract OnNext : IEvent<EventHandler<'TEventArgs>,
    'TEventArgs>
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

IEventPatternSource<TEventArgs> Interface

System.Reactive Namespace