Spread WPF 17
GrapeCity.Excel Namespace / IExcelWorksheet Interface / GetColumn Method
The zero-based index of the column.
If set to true. It will create the column if the column is null at the specified index when the index is in the valid range


In This Topic
    GetColumn Method (IExcelWorksheet)
    In This Topic
    Gets the column at the specified column index
    Syntax
    'Declaration
     
    Function GetColumn( _
       ByVal index As Integer, _
       Optional ByVal create As Boolean _
    ) As IExcelColumn
    'Usage
     
    Dim instance As IExcelWorksheet
    Dim index As Integer
    Dim create As Boolean
    Dim value As IExcelColumn
     
    value = instance.GetColumn(index, create)
    IExcelColumn GetColumn( 
       int index,
       bool create
    )

    Parameters

    index
    The zero-based index of the column.
    create
    If set to true. It will create the column if the column is null at the specified index when the index is in the valid range

    Return Value

    An IExcelColumn instance represent the column at the specified index
    See Also