この例では、Cellオブジェクトを作成し、アプリケーションでのみ使用されるCellオブジェクトのTagオブジェクトを設定します。このタグを問い合わせ、テキストボックスに返します。
FarPoint.Web.Spread.Cell mycell;
object obj;
obj = new FarPoint.Web.Spread.ButtonCellType();
mycell = FpSpread1.Cells[0, 0];
mycell.Tag = obj;
TextBox1.Text = Convert.ToString(mycell.Tag);
Dim mycell As FarPoint.Web.Spread.Cell
Dim obj As Object
obj = New FarPoint.Web.Spread.ButtonCellType()
mycell = FpSpread1.Cells(0, 0)
mycell.Tag = obj
TextBox1.Text = Convert.ToString(mycell.Tag)