TryParseXsdDayTimeDuration Method
'Declaration
Public Shared Function TryParseXsdDayTimeDuration( _
ByVal As System.String, _
ByRef As LxDuration, _
ByRef As System.Exception _
) As System.Boolean
public static System.bool TryParseXsdDayTimeDuration(
System.string ,
out LxDuration ,
out System.Exception
)
Parameters
- xsdDuration
- The string representation of an xs:dayTimeDuration
- result
- If successful (returns true) then this contains an LxDuration object holding the value read from .
If unsuccessful (returns false) then this value is undefined.
- ex
- If successful (returns true) then this is undefined.
If unsuccessful (returns false) then this value contains an exception describing the error.
Return Value
true if the xs:dayTimeDuration could be parsed successfully, in which case holds the parsed value.
false if the xs:dayTimeDuration could be NOT be parsed successfully, in which case holds an exception describing the error.
Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.