DundasWinExtensions
CompareTo Method
See Also  Send comments on this topic.
DundasWinExtensions Assembly > Dundas.Extensions Namespace > UniqueDataPoint Class : CompareTo Method


obj
An object to compare with this instance.
For sorting purposes, based on AxisLabel or X value.

Syntax

Visual Basic (Declaration)  
Public Function CompareTo( _
   ByVal obj As Object _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As UniqueDataPoint
Dim obj As Object
Dim value As Integer
 
value = instance.CompareTo(obj)
C#  
public int CompareTo( 
   object obj
)

Parameters

obj
An object to compare with this instance.

Return Value

A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance is less than obj. Zero This instance is equal to obj. Greater than zero This instance is greater than obj.

Exceptions

Exception Description
ArgumentException obj is not the same type as this instance.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.