Gets or sets the time of a specific day when the event stops being raised.
[Visual Basic] Overridable Public Property EndTime As TimeSpan [C#] public TimeSpan EndTime {virtual get; virtual set;} [C++] public: __property virtual TimeSpan get_EndTime(); public: __property virtual void set_EndTime(TimeSpan); [JScript] public function get EndTime() : TimeSpan; public function set EndTime(TimeSpan);
A TimeSpan that specifies a time of day. The default is 23:59:59.
Exception Type | Condition |
---|---|
ArgumentException | The EndTime property is less than 0 or greater than 23:59:59. |
RecurrencePattern Class | RecurrencePattern Members | System.Timers Namespace | StartTime | TimeSpan