ImageMan.Net Version 3 Summer 2012 Release
CompareTo(Object) Method
See Also  Send Feedback
DTI.ImageMan.Metadata.Exif Namespace > MathEx.Fraction32 Structure > CompareTo Method : CompareTo(Object) Method





obj
An object to compare, or null.

Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Overloads Function CompareTo( _
   ByVal obj As System.Object _
) As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As MathEx.Fraction32
Dim obj As System.Object
Dim value As System.Integer
 
value = instance.CompareTo(obj)
C# 
public System.int CompareTo( 
   System.object obj
)
JScript 
public function CompareTo( 
   obj : System.Object
) : System.int;
Managed Extensions for C++ 
public: System.int CompareTo( 
   System.Object* obj
) 
C++/CLI 
public:
System.int CompareTo( 
   System.Object^ obj
) 

Parameters

obj
An object to compare, or null.

Return Value

A signed number indicating the relative values of this instance and value. 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 or obj is null.

Exceptions

ExceptionDescription
System.ArgumentExceptionobj is not a Fraction.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.