Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SetTag Method / SetTag(Int32,Int32,SheetArea,Object) Method
The row index (set to -1 for all rows).
The column index (set to -1 for all columns).
The sheet area.
The tag value for the specified cell, column, row, or sheet.


In This Topic
    SetTag(Int32,Int32,SheetArea,Object) Method
    In This Topic
    Sets the application-defined tag value for the specified cell, column, row, or entire sheet for the specified sheet area.
    Syntax
    'Declaration
     
    Public Overloads Sub SetTag( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal sheetArea As SheetArea, _
       ByVal value As Object _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim sheetArea As SheetArea
    Dim value As Object
     
    instance.SetTag(row, column, sheetArea, value)
    public void SetTag( 
       int row,
       int column,
       SheetArea sheetArea,
       object value
    )

    Parameters

    row
    The row index (set to -1 for all rows).
    column
    The column index (set to -1 for all columns).
    sheetArea
    The sheet area.
    value
    The tag value for the specified cell, column, row, or sheet.
    See Also