共用方式為


IEventPatternSource < TEventArgs > 。OnNext 事件

引發 Next 事件,向資料流程中的下一個專案發出訊號。

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

語法

'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.

另請參閱

參考

IEventPatternSource < TEventArgs > 介面

System.Reactive 命名空間