Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / BuiltInDataValidation Class / ParseInput Method
A Worksheet object indicates the active worksheet.
A string value indicates the first formula.
A string value indicates the second formula.
An integer value indicates the context row index.
An integer value indicates the context column index.
A DataValidationType value indicates the data validation type.
A GrapeCity.CalcEngine.PrimitiveValue object represents the first parsed value.
An GrapeCity.CalcEngine.Expression object represents the first parsed expression.
A GrapeCity.CalcEngine.PrimitiveValue object represents the second parsed value.
An GrapeCity.CalcEngine.Expression object represents the second parsed expression.


In This Topic
    ParseInput Method (BuiltInDataValidation)
    In This Topic
    Parses the inputs for a data validation.
    Syntax
    'Declaration
     
    
    Public Shared Function ParseInput( _
       ByVal worksheet As Worksheet, _
       ByVal formula1 As String, _
       ByVal formula2 As String, _
       ByVal contextRow As Integer, _
       ByVal contextColumn As Integer, _
       ByVal dvType As DataValidationType, _
       ByVal operator As DataValidationOperator, _
       ByRef primitiveValue1 As IPrimitiveValue, _
       ByRef expression1 As Expression, _
       ByRef primitiveValue2 As IPrimitiveValue, _
       ByRef expression2 As Expression _
    ) As DataRestrictions
    'Usage
     
    
    Dim worksheet As Worksheet
    Dim formula1 As String
    Dim formula2 As String
    Dim contextRow As Integer
    Dim contextColumn As Integer
    Dim dvType As DataValidationType
    Dim operator As DataValidationOperator
    Dim primitiveValue1 As IPrimitiveValue
    Dim expression1 As Expression
    Dim primitiveValue2 As IPrimitiveValue
    Dim expression2 As Expression
    Dim value As DataRestrictions
     
    value = BuiltInDataValidation.ParseInput(worksheet, formula1, formula2, contextRow, contextColumn, dvType, operator, primitiveValue1, expression1, primitiveValue2, expression2)

    Parameters

    worksheet
    A Worksheet object indicates the active worksheet.
    formula1
    A string value indicates the first formula.
    formula2
    A string value indicates the second formula.
    contextRow
    An integer value indicates the context row index.
    contextColumn
    An integer value indicates the context column index.
    dvType
    A DataValidationType value indicates the data validation type.
    operator
    primitiveValue1
    A GrapeCity.CalcEngine.PrimitiveValue object represents the first parsed value.
    expression1
    An GrapeCity.CalcEngine.Expression object represents the first parsed expression.
    primitiveValue2
    A GrapeCity.CalcEngine.PrimitiveValue object represents the second parsed value.
    expression2
    An GrapeCity.CalcEngine.Expression object represents the second parsed expression.

    Return Value

    A DataRestrictions value represents the restriction reason of the specified formulas.
    See Also