Xceed Toolkit Plus for WPF v4.6 Documentation
CompareTo Method (DateElement)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > DateElement Class : CompareTo Method
A DateElement with which the caller will be compared.
Compares this DateElement to another DateElement.
Syntax
'Declaration
 
Public Function CompareTo( _
   ByVal d As DateElement _
) As Integer
'Usage
 
Dim instance As DateElement
Dim d As DateElement
Dim value As Integer
 
value = instance.CompareTo(d)
public int CompareTo( 
   DateElement d
)

Parameters

d
A DateElement with which the caller will be compared.

Return Value

-1 if the caller is less than d, 1 if the caller is greater than d, or 0 if caller and d are identical.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DateElement Class
DateElement Members