Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / BuiltInDataValidation Class / GetFormula Method
true to return the first part of the data validation; otherwise, return the second part of the data validation.
An integer value indicates the context row index.
An integer value indicates the context column index.


In This Topic
GetFormula Method (BuiltInDataValidation)
In This Topic
Gets or sets the value or formula associated with the specified part of a data validation.
Syntax
'Declaration
 
Public Function GetFormula( _
   ByVal first As Boolean, _
   ByVal contextRow As Integer, _
   ByVal contextColumn As Integer _
) As String
 
'Usage
 
Dim instance As BuiltInDataValidation
Dim first As Boolean
Dim contextRow As Integer
Dim contextColumn As Integer
Dim value As String
 
value = instance.GetFormula(first, contextRow, contextColumn)

Parameters

first
true to return the first part of the data validation; otherwise, return the second part of the data validation.
contextRow
An integer value indicates the context row index.
contextColumn
An integer value indicates the context column index.

Return Value

A string value represents the value or formula associated with the specified part of a data validation.
See Also