Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / CellEditCommand Class / TryCorrectValueByColumnType Method


In This Topic
    TryCorrectValueByColumnType Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function TryCorrectValueByColumnType( _
       ByVal worksheet As Worksheet, _
       ByVal value As CellValue, _
       ByVal columnType As Type, _
       ByVal originalTex As String, _
       ByVal numFmtId As Integer _
    ) As Object
    'Usage
     
    
    Dim worksheet As Worksheet
    Dim value As CellValue
    Dim columnType As Type
    Dim originalTex As String
    Dim numFmtId As Integer
    Dim value As Object
     
    value = CellEditCommand.TryCorrectValueByColumnType(worksheet, value, columnType, originalTex, numFmtId)
    public static object TryCorrectValueByColumnType( 
       Worksheet worksheet,
       CellValue value,
       Type columnType,
       string originalTex,
       int numFmtId
    )

    Parameters

    worksheet
    value
    columnType
    originalTex
    numFmtId
    See Also