FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > FpSpread クラス : GetSheetFromTag メソッド |
'Declaration Public Function GetSheetFromTag( _ ByVal sheetToStart As SheetView, _ ByVal tagToFind As Object _ ) As SheetView
'使用法 Dim instance As FpSpread Dim sheetToStart As SheetView Dim tagToFind As Object Dim value As SheetView value = instance.GetSheetFromTag(sheetToStart, tagToFind)
public SheetView GetSheetFromTag( SheetView sheetToStart, object tagToFind )
fpSpread1.Sheets.Count = 3; fpSpread1.Sheets[0].Tag = "Sheet1"; fpSpread1.Sheets[1].Tag = "Sheet2"; fpSpread1.Sheets[2].Tag = "Sheet3"; private void button1Click(object sender, System.EventArgs e) FarPoint.Win.Spread.SheetView sv = fpSpread1.GetSheetFromTag(fpSpread1.Sheets[0], "Sheet3"); sv.Visible = false; End Sub
FpSpread1.Sheets.Count = 3 FpSpread1.Sheets(0).Tag = "Sheet1" FpSpread1.Sheets(1).Tag = "Sheet2" FpSpread1.Sheets(2).Tag = "Sheet3" Private Sub Button1Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim sv As FarPoint.Win.Spread.SheetView = FpSpread1.GetSheetFromTag(FpSpread1.Sheets(0), "Sheet3") sv.Visible = False End Sub