Partager via


événement ObservableTest.FromEvent_VarianceCheck.E2

Namespace:ReactiveTests.Tests
Assemblée: Tests.System.Reactive (en Tests.System.Reactive.dll)

Syntaxe

'Declaration
Public Event E2 As EventHandler(Of CancelEventArgs)
'Usage
Dim instance As ObservableTest..::..FromEvent_VarianceCheck
Dim handler As EventHandler(Of CancelEventArgs)

AddHandler instance.E2, handler
public event EventHandler<CancelEventArgs> E2
public:
 event EventHandler<CancelEventArgs^>^ E2 {
    void add (EventHandler<CancelEventArgs^>^ value);
    void remove (EventHandler<CancelEventArgs^>^ value);
}
member E2 : IEvent<EventHandler<CancelEventArgs>,
    CancelEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Voir aussi

Référence

ObservableTest.FromEvent_VarianceCheck, classe

ReactiveTests.Tests, espace de noms