IEventSource<T>.OnNext 事件

引发 Next 事件,向数据流中的下一个元素发出信号。

Namespace:System.Reactive
装配: System.Reactive.dll) 中的 System.Reactive (

语法

'Declaration
Event OnNext As Action(Of T)
'Usage
Dim instance As IEventSource
Dim handler As Action(Of T)

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

另请参阅

参考

IEventSource<T> 接口

System.Reactive 命名空间