ESRI.ArcGIS.ADF.Web.UI.WebControls
CompareTo Method
See Also 
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).

See Also

© 2010 All Rights Reserved.