LiquidTechnologies.XmlObjects Namespace / LxDateTime Structure / TryChangeType Method
The type to convert the LxDateTime to
The LxDateTime in the new form (if successful)

In This Topic
    TryChangeType Method
    In This Topic
    Attempts to change the type of the LxDateTime to the specified newType
    Syntax
    'Declaration
     
    
    Public Function TryChangeType( _
       ByVal newType As LxDateTimeType, _
       ByRef result As LxDateTime _
    ) As System.Boolean
    public System.bool TryChangeType( 
       LxDateTimeType newType,
       out LxDateTime result
    )

    Parameters

    newType
    The type to convert the LxDateTime to
    result
    The LxDateTime in the new form (if successful)

    Return Value

    true if the conversion was successful (in which case result is populated), false if the conversion can not be performed in which case result is undefined.
    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