'Usage Dim instance As TdTimeWithTimeZone Dim obj As Object Dim value As Integer value = instance.CompareTo(obj)
Parameters
- obj
- TdTimeWithTimeZone instance to compare against.
'Usage Dim instance As TdTimeWithTimeZone Dim obj As Object Dim value As Integer value = instance.CompareTo(obj)
Exception | Description |
---|---|
System.ArgumentException | obj is not of type TdTimeWithTimeZone |
The integer returned when this instance is compared to obj indicates the following:
Return Value | Meaning |
---|---|
Less than Zero |
This instance is less than obj. -or- This instance is TdTimeWithTimeZone.Null. |
Zero |
This instance is equal to obj. -or- This instance is Null and obj is Null. |
Greater than Zero |
This instance is greater than obj. -or- obj is Null or a |
obj must be an instance of TdTimeWithTimeZone type or null
reference.
Refer to TdTimeWithTimeZone.CompareTo for more information on comparing TdTimeWithTimeZone values.
Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2