DateTimeIntervalSetInterval Method |
p_MinTime and p_MaxTime cannot be set both to null.
p_MinTime must be a time point before p_MaxTime.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax public void SetInterval(
Nullable<DateTime> p_MinTime,
Nullable<DateTime> p_MaxTime
)
Public Sub SetInterval (
p_MinTime As Nullable(Of DateTime),
p_MaxTime As Nullable(Of DateTime)
)
public:
void SetInterval(
Nullable<DateTime> p_MinTime,
Nullable<DateTime> p_MaxTime
)
member SetInterval :
p_MinTime : Nullable<DateTime> *
p_MaxTime : Nullable<DateTime> -> unit
Parameters
- p_MinTime
- Type: SystemNullableDateTime
Left bound of the interval. - p_MaxTime
- Type: SystemNullableDateTime
Right bound of the interval.
Exceptions Exception | Condition |
---|
ArgumentException | Throws ArgumentException if p_MinTime is after p_MaxTime |
See Also