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 (in ShellBrowser.dll) Version: 7.1
Syntax public void SetInterval(
DateTime? p_MinTime,
DateTime? p_MaxTime
)
Public Sub SetInterval (
p_MinTime As DateTime?,
p_MaxTime As 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