共用方式為


Notification.CreateOnNext < T > 方法

建立 物件,此物件表示對觀察者的 OnNext 通知。

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

Syntax

'Declaration
Public Shared Function CreateOnNext(Of T) ( _
    value As T _
) As Notification(Of T)
'Usage
Dim value As T
Dim returnValue As Notification(Of T)

returnValue = Notification.CreateOnNext(value)
public static Notification<T> CreateOnNext<T>(
    T value
)
public:
generic<typename T>
static Notification<T>^ CreateOnNext(
    T value
)
static member CreateOnNext : 
        value:'T -> Notification<'T> 
JScript does not support generic types and methods.

類型參數

  • T
    通知引數類型。

參數

  • value
    類型:T
    通知中包含的值。

傳回值

類型:System.Reactive.Notification< T>
包含值的 OnNext 通知。

另請參閱

參考

通知類別

System.Reactive 命名空間