Spread Windows Forms 17
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IFormattedCellValue2 Interface / GetDate Method
The evaluation context to get value.
true if the evaluation context will track calculation error; otherwise, false.


In This Topic
    GetDate Method (IFormattedCellValue2)
    In This Topic
    Gets the System.DateTime value.
    Syntax
    'Declaration
     
    
    Function GetDate( _
       Optional ByVal context As IEvaluationContext, _
       Optional ByVal catchError As Boolean _
    ) As Date
    'Usage
     
    
    Dim instance As IFormattedCellValue2
    Dim context As IEvaluationContext
    Dim catchError As Boolean
    Dim value As Date
     
    value = instance.GetDate(context, catchError)

    Parameters

    context
    The evaluation context to get value.
    catchError
    true if the evaluation context will track calculation error; otherwise, false.

    Return Value

    An System.DateTime value.
    See Also