共用方式為


EventPattern < TEventArgs > 建構函式

初始化EventPattern < TEventArgs >類型的新實例。

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

語法

'Declaration
Public Sub New ( _
    sender As Object, _
    e As TEventArgs _
)
'Usage
Dim sender As Object
Dim e As TEventArgs

Dim instance As New EventPattern(sender, _
    e)
public EventPattern(
    Object sender,
    TEventArgs e
)
public:
EventPattern(
    Object^ sender, 
    TEventArgs e
)
new : 
        sender:Object * 
        e:'TEventArgs -> EventPattern
public function EventPattern(
    sender : Object, 
    e : TEventArgs
)

參數

另請參閱

參考

EventPattern < TEventArgs > 類別

System.Reactive 命名空間