Which order should the cards indexed by these keys be written out? This method assumes that the arguments are either the FITS Header keywords as strings, and some other type (or null) for comment style keywords.


Namespace: nom.tam.fits
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)

Syntax

Visual Basic (Declaration)
Public Function Compare( _ 
   ByVal a As Object,  _ 
   ByVal b As Object _ 
) As Integer _
    Implements IComparer.Compare
C#
public int Compare(
   object a,
   object b
)
C++
public:
 int Compare(
   Object a,
   Object b
) sealed 
J#
public int Compare(
   object a,
   object b
)
JScript
public  function Compare(
   a : Object,
   b : Object
) : int

Return Value

-1: if the first argument should be written first. 1: if the second argument should be written first. 0: if either is legal.

Implements

IComparer.Compare

See Also