PowerTCP Mail for .NET
CompareTo Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Mailbox Class : CompareTo Method




obj
An object to compare with this instance.
Compares the current instance with another object of the same type.

Syntax

Visual Basic (Declaration) 
Public Function CompareTo( _
   ByVal obj As Object _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As Mailbox
Dim obj As Object
Dim value As Integer
 
value = instance.CompareTo(obj)
C# 
public int CompareTo( 
   object obj
)
Managed Extensions for C++ 
public: int CompareTo( 
   Object* obj
) 
C++/CLI 
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 comparands. 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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.