Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / GetDataColumnType Method
Column index for which type is requested
Example


In This Topic
    GetDataColumnType Method
    In This Topic
    Gets the column data type at the specified position.
    Syntax
    'Declaration
     
    Public Function GetDataColumnType( _
       ByVal column As Integer _
    ) As Type
    'Usage
     
    Dim instance As DefaultSheetDataModel
    Dim column As Integer
    Dim value As Type
     
    value = instance.GetDataColumnType(column)
    public Type GetDataColumnType( 
       int column
    )

    Parameters

    column
    Column index for which type is requested
    Exceptions
    ExceptionDescription
    Specified index is out of range; must be between 0 and the total number of columns
    Example
    This example returns the system type of the specified column.
    See Also