TimePeriodTryParse Method
IT Hit WebDAV Classes Reference
Creates
TimePeriod from string, returns
true if parsing was succesefull,
false otherwise.
Namespace:
ITHit.Collab.Calendar
Assembly:
ITHit.Collab (in ITHit.Collab.dll) Version: 1.0.0.540 (1.0.0.540)
Syntax public static bool TryParse(
string strTimePeriod,
out TimePeriod timePeriod
)
Public Shared Function TryParse (
strTimePeriod As String,
<OutAttribute> ByRef timePeriod As TimePeriod
) As Boolean
public:
static bool TryParse(
String^ strTimePeriod,
[OutAttribute] TimePeriod^% timePeriod
)
static member TryParse :
strTimePeriod : string *
timePeriod : TimePeriod byref -> bool
Parameters
- strTimePeriod
- Type: SystemString
String representation of time period. This could be either start / end or start / duration. - timePeriod
- Type: ITHit.Collab.CalendarTimePeriod
TimePeriod output value.
Return Value
Type:
Booleantrue if parsing was succesefull,
false otherwise.
See Also