ESRI.ArcGIS.ADF.Web.UI.WebControls
CompareTo Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > CallbackResult Class : CompareTo Method




obj
CallbackResults object to compare to the current one.
Tests whether two CallbackResult objects have the same Priority and internal identifier.

Syntax

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

Parameters

obj
CallbackResults object to compare to the current one.

Return Value

Zero (0) if the two CallbackResult objects have the same Priority and internal ID. Negative one (-1) if the current object has a lower priority (or if tied, a lower ID); one (1) if a higher priority (or if tied, a higher ID).

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

© 2011 All Rights Reserved.