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
)
參數
- 傳送者
類型: System.Object
事件傳送者資訊。
- e
類型: TEventArgs
事件引數。