Gets the application-defined tag value for the specified cell, column, row, or entire sheet.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As Object
value = instance.GetTag(row, column) |
Parameters
- row
- Row index
Set to -1 for all rows - column
- Column index
Set to -1 for all columns
Return Value
Object containing the application-defined tag value for the specified cell, column, row, or sheet
Remarks
Example
This example illustrates the use of this member by returning the application-defined tag value for the specified cell.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.SetTag(0, 0, "AppTag");
label1.Text = "The tag for the sheet is " + fpSpread1.ActiveSheet.GetTag(0, 0).ToString(); |
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.SetTag(0, 0, "AppTag")
Label1.Text = "The tag for the sheet is " & FpSpread1.ActiveSheet.GetTag(0, 0).ToString() |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also