LiquidTechnologies.XmlObjects Namespace / LxDateTime Structure / Inequality Operator
first valuefirst value
second valuesecond value

In This Topic
    Inequality Operator (LxDateTime)
    In This Topic
    Compares 2 LxDateTime objects for equalityCompares 2 LxDateTime objects for inequality
    Syntax
    'Declaration
     
    
    Public Operator <>( _
       ByVal left As LxDateTime, _
       ByVal right As LxDateTime _
    ) As System.Boolean
    public System.bool operator !=( 
       LxDateTime left,
       LxDateTime right
    )

    Parameters

    left
    first valuefirst value
    right
    second valuesecond value

    Return Value

    In order for them to be considered the same the Type must be the same. The timezone is taken into account when comparing them. If an explicit timezone is not present then they are considered to be UTC (Zulu time). If greater control is required then us Equals(LxDateTime,TimeZoneInfo)
    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