Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Timer Properties

Timer Properties

The Timer type exposes the following members.

  Name Description
Public property AutoReset Gets or sets a Boolean indicating whether the Timer should raise the Elapsed event only once (false) or repeatedly (true).
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property Enabled Gets or sets a value indicating whether the Timer should raise the Elapsed event.
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Interval Gets or sets the interval, expressed in milliseconds, at which to raise the Elapsed event.
Public property Site Infrastructure. Gets or sets the site that binds the Timer to its container in design mode. (Overrides Component.Site.)
Public property SynchronizingObject Gets or sets the object used to marshal event-handler calls that are issued when an interval has elapsed.
© 2015 Microsoft