Empty Field
Collapse the table of content
Expand the table of content

EventArgs.Empty Field

 

Provides a value to use with events that do not have event data.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

static val Empty : EventArgs

Field Value

Type: System.EventArgs

Pass this value to event handlers that are associated with events that do not have data.

The following example shows a simple counting application that raises an event when a threshold is equaled or exceeded. The Empty field is passed to the OnThresholdReached method.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft