Export (0) Print
Expand All

Timer Members

Implements a timer that raises an event at user-defined intervals. This timer is optimized for use in Windows Forms applications and must be used in a window.

The following tables list the members exposed by the Timer type.

  Name Description
Public method Supported by the .NET Compact Framework Timer Overloaded. Initializes a new instance of the Timer class.
Top

(see also Protected Properties )
  Name Description
Public property Container  Gets the IContainer that contains the Component.(inherited from Component)
Public property Supported by the .NET Compact Framework Enabled Gets or sets whether the timer is running.
Public property Supported by the .NET Compact Framework Interval Gets or sets the time, in milliseconds, before the Tick event is raised relative to the last occurrence of the Tick event.
Public property Supported by the .NET Compact Framework Site  Gets or sets the ISite of the Component.(inherited from Component)
Public property Tag Gets or sets an arbitrary string representing some type of user state.
Top

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(inherited from Component)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(inherited from Component)
Protected property Supported by the .NET Compact Framework Events  Gets the list of event handlers that are attached to this Component.(inherited from Component)
Top

(see also Protected Methods )
  Name Description
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Dispose Overloaded. Disposes of the resources, other than memory, used by the timer.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Start Starts the timer.
Public method Stop Stops the timer.
Public method Supported by the .NET Compact Framework ToString Overridden. Returns a string that represents the Timer.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Dispose Overloaded. Overridden. Disposes of the resources, other than memory, used by the timer.
Protected method Supported by the .NET Compact Framework Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (inherited from Component)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Protected method OnTick Raises the Tick event.
Top

  Name Description
Public event Supported by the .NET Compact Framework Disposed  Occurs when the component is disposed by a call to the Dispose method. (inherited from Component)
Public event Supported by the .NET Compact Framework Tick Occurs when the specified timer interval has elapsed and the timer is enabled.
Top

Community Additions

ADD
Show:
© 2014 Microsoft