FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Model 名前空間 > BaseSheetDataModel クラス : GetTag メソッド |
'Declaration Public Overridable Function GetTag( _ ByVal row As Integer, _ ByVal column As Integer _ ) As Object
'使用法 Dim instance As BaseSheetDataModel Dim row As Integer Dim column As Integer Dim value As Object value = instance.GetTag(row, column)
FarPoint.Win.Spread.Model.BaseSheetDataModel dataModel; string s; dataModel = (FarPoint.Win.Spread.Model.BaseSheetDataModel)fpSpread1.ActiveSheet.Models.Data; dataModel.SetTag(0, 0, "TestTag"); s = dataModel.GetTag(0, 0); listBox1.Items.Add(s);
Dim dataModel As FarPoint.Win.Spread.Model.BaseSheetDataModel Dim o As Object dataModel = FpSpread1.ActiveSheet.Models.Data dataModel.SetTag(0, 0, "TestTag") o = dataModel.GetTag(0, 0) ListBox1.Items.Add(o.ToString())