Method SetTime
SetTime(DateTimeOffset, Boolean)
Sets the
Declaration
public void SetTime(DateTimeOffset time, bool raiseAdjustedEvent)
Parameters
Type | Name | Description |
---|---|---|
System.DateTimeOffset | time | The time to change the clock to. |
System.Boolean | raiseAdjustedEvent | Pass true to raise the Adjusted event after the time is changed, otherwise false. |