Share via


EventArgs Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Constitutes the base class for classes that contain event data.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT..::..EventArgs
    Microsoft.SPOT. . :: . .CancelEventArgs
    Microsoft.SPOT.Input. . :: . .NotifyInputEventArgs
    Microsoft.SPOT.Net.NetworkInformation. . :: . .NetworkAvailabilityEventArgs
    Microsoft.SPOT.Net. . :: . .UserAuthenticatorArgs
    Microsoft.SPOT.Presentation.Controls. . :: . .ScrollChangedEventArgs
    Microsoft.SPOT.Presentation.Controls. . :: . .SelectionChangedEventArgs
    Microsoft.SPOT. . :: . .RoutedEventArgs
    Microsoft.SPOT.Time. . :: . .SystemTimeChangedEventArgs
    Microsoft.SPOT.Time. . :: . .TimeSyncFailedEventArgs

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

Syntax

'Declaration
Public Class EventArgs
public class EventArgs
public ref class EventArgs
type EventArgs =  class end
public class EventArgs

The EventArgs type exposes the following members.

Constructors

  Name Description
Public method EventArgs Initializes a new instance of the EventArgs class.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member Empty Contains an empty, read-only EventArgs object.

Top

Remarks

This class contains no event data; it is used by events that do not pass state information to an event handler when an event is raised. If the event handler requires state information, the application must derive a class from this class to hold the data.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT Namespace