GrapeCity SPREAD for Windows Forms 12.0J
GetHashCode メソッド (Cell)


ナビゲーションツールとビュー
オブジェクトのハッシュ コード
構文
public override int GetHashCode()
'Declaration
 
Public Overrides Function GetHashCode() As Integer
 
'使用法
 
Dim instance As Cell
Dim value As Integer
 
value = instance.GetHashCode()

戻り値の型

オブジェクトのハッシュ コードを表す Integer
次のサンプルコードでは、このメンバを使用して、セルオブジェクトのハッシュテーブルから自動的に生成されたコードを返しています。
FarPoint.Win.Spread.Cell aCell;
object o;
bool b;
o = fpSpread1.ActiveSheet.Cells[0, 0];
aCell = (FarPoint.Win.Spread.Cell)o;
b = aCell.Equals(o);
listBox1.Items.Add(b.ToString());
Dim aCell As FarPoint.Win.Spread.Cell
Dim b As Boolean
Dim o As Object
o = FpSpread1.ActiveSheet.Cells(0, 0)
aCell = o
b = aCell.Equals(o)
ListBox1.Items.Add(b.ToString())
参照

Cell クラス
Cell メンバ

 

 


Copyright © 2004 GrapeCity inc.