Visual Basic (Declaration) | |
---|---|
Public Event Data As DataEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TcpBase Dim handler As DataEventHandler AddHandler instance.Data, handler |
C# | |
---|---|
public event DataEventHandler Data |
Managed Extensions for C++ | |
---|---|
public: __event DataEventHandler* Data |
C++/CLI | |
---|---|
public: event DataEventHandler^ Data |
This event is always raised on the UI thread so that data can be used with UI components.
See SynchronizingObject for important information on updating UI controls from within this event.
Target Platforms: Microsoft .NET Framework 2.0