LiquidTechnologies.XmlObjects Namespace / LxDuration Structure / TryParseXsdDayTimeDuration Method
The string representation of an xs:dayTimeDuration
If successful (returns true) then this contains an LxDuration object holding the value read from xsdDuration.
If unsuccessful (returns false) then this value is undefined.
If successful (returns true) then this is undefined.
If unsuccessful (returns false) then this value contains an exception describing the error.

In This Topic
    TryParseXsdDayTimeDuration Method
    In This Topic
    Parses a string containing an xs:dayTimeDuration (XSD 1.1)
    Syntax
    'Declaration
     
    
    Public Shared Function TryParseXsdDayTimeDuration( _
       ByVal xsdDuration As System.String, _
       ByRef result As LxDuration, _
       ByRef ex As System.Exception _
    ) As System.Boolean
    public static System.bool TryParseXsdDayTimeDuration( 
       System.string xsdDuration,
       out LxDuration result,
       out System.Exception ex
    )

    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 xsdDuration.
    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 result holds the parsed value.
    false if the xs:dayTimeDuration could be NOT be parsed successfully, in which case ex holds an exception describing the error.
    Requirements

    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.

    See Also