SPREAD for WPF 4.0J - GcSpreadSheet
CompareValue メソッド (ObjectItem)

GrapeCity.Wpf.SpreadSheet.CellType アセンブリ > GrapeCity.Wpf.SpreadSheet.CellType.Editors 名前空間 > ObjectItem クラス : CompareValue メソッド
比較するSystem.Object
比較するSystem.Object
2つのオブジェクト値を比較します。
シンタックス
'宣言
 
Protected Overrides NotOverridable Function CompareValue( _
   ByVal first As System.Object, _
   ByVal second As System.Object _
) As System.Integer
protected override System.int CompareValue( 
   System.object first,
   System.object second
)

パラメータ

first
比較するSystem.Object
second
比較するSystem.Object

戻り値の型

比較する 2 つの項目の辞書的関係を示す 32 ビットの符号付き整数。 戻り値が 0 未満の場合は、firstsecond より小さいことを示します。 戻り値が 0 の場合は、firstsecond が等しいことを示します。 戻り値が 0 より大きいの場合は、firstsecond より大きいことを示します。
例外
例外解説
オブジェクトが比較できない場合は、例外を発生させます。
参照

ObjectItem クラス
ObjectItem メンバ