FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Model 名前空間 > BaseSheetAxisModel クラス : SetTag メソッド |
'使用法 Dim instance As BaseSheetAxisModel Dim index As Integer Dim value As Object instance.SetTag(index, value)
private void button4_Click(object sender, System.EventArgs e) { FarPoint.Win.Spread.Model.BaseSheetAxisModel baseModel; object o; baseModel = (FarPoint.Win.Spread.Model.BaseSheetAxisModel)fpSpread1.ActiveSheet.Models.ColumnAxis; baseModel.SetTag(2, "Tag"); o = baseModel.GetTag(2); listBox1.Items.Add(o.ToString()); }
Dim baseModel As FarPoint.Win.Spread.Model.BaseSheetAxisModel Dim o As Object baseModel = FpSpread1.ActiveSheet.Models.ColumnAxis baseModel.SetTag(2, "Tag") o = baseModel.GetTag(2) ListBox1.Items.Add(o.ToString())