TimePeriodTryParse Method
IT Hit WebDAV Classes Reference
Creates
TimePeriod from string, returns
true if parsing was succesefull,
false otherwise.
Namespace: ITHit.WebDAV.CalendarAssembly: ITHit.WebDAV (in ITHit.WebDAV.dll) Version: 1.0.0.503 (1.0.0.503)
Syntaxpublic 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.WebDAV.CalendarTimePeriod
TimePeriod output value.
Return Value
Type:
Booleantrue if parsing was succesefull,
false otherwise.
See Also