CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting

Compares this instance to a specified object and returns an indication of their relative values.

Namespace: ?System
Assembly: ?mscorlib (in mscorlib.dll)

Syntax

Visual Basic (Declaration)
Public Function CompareTo ( _
	value As Object _
) As Integer
C#
public int CompareTo(
	Object value
)
Visual C++
public:
virtual int CompareTo(
	Object^ value
) sealed
JavaScript
function compareTo(value);

Parameters

value
Type: System..::.Object
An object to compare, or null.

Return Value

Value Condition -1 The value of this instance is less than the value of value. 0 The value of this instance is equal to the value of value. 1 The value of this instance is greater than the value of value.-or- value is null.

Implements

IComparable..::.CompareTo(Object)

Exceptions

ExceptionCondition
System..::.ArgumentExceptionvalue is not a TimeSpan.

See Also



Free Download:
  Privacy | Contact Us
All Times Are GMT