Version

CalculationValue Class Members

The following tables list the members exposed by CalculationValue.

Public Constructors
 NameDescription
Public ConstructorCalculationValue ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyIsBooleanReturns whether this class instance contains a boolean value  
Public PropertyIsDateTimeReturns whether this class instance contains a DateTime value  
Public PropertyIsDBNullReturns whether this class instance contains a DBNull value  
Public PropertyIsErrorReturns whether this class instance contains an error value  
Public PropertyIsNullReturns whether this class instance contains a null value  
Public PropertyIsReferenceReturns whether this class instance contains a ICalculationReference value  
Public PropertyIsStringReturns whether this class instance contains a string value  
Public PropertyValueReturn the underlying value  
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)AreValuesEqualIndicates if the value of the specified CalculationValue is equivalent to the Value  
Public MethodCompareToOverloaded. Compares current instance with the passed in CalculationValue instance. Returns -1, 1 or 0 depending on whether the current instance is less than, greater than or equal to the passed in instance respectively.  
Public Methodstatic (Shared in Visual Basic)DateTimeToExcelDateOverloaded. Converts a DateTime to Excel's numerical representation of a date.  
Public Methodstatic (Shared in Visual Basic)ExcelDateToDateTimeOverloaded. Converts Excel's numerical representation of a date to a DateTime.  
Public Methodstatic (Shared in Visual Basic)ExcelDateToTimeOfDayConverts Excel's numerical representation of a time of day to a TimeSpan.  
Public MethodGetResolvedValueGets the resolved value of the reference. This method will walk down the reference chain recursively to get the resolved value of the reference that is not just another reference.  
Public MethodGetTypeCodeReturns the TypeCode for this instance  
Public MethodIsSameValueIndicates if the specified CalculationValue has the save Value as this instance.  
Public Methodstatic (Shared in Visual Basic)TimeOfDayToExcelDateConverts a TimeSpan to Excel's numerical representation of a date.  
Public MethodToBooleanOverloaded. Convert this class instance's value to a boolean data type  
Public MethodToByteOverloaded. Convert this class instance's value to a byte data type  
Public MethodToCharOverloaded. Convert this class instance's value to a char data type  
Public MethodToDateTimeOverloaded. Convert this class instance's value to a DateTime data type  
Public MethodToDecimalOverloaded. Convert this class instance's value to a decimal data type  
Public MethodToDoubleOverloaded. Convert this class instance's value to a double data type  
Public MethodToErrorValueConvert this instance's value to an CalculationErrorValue  
Public MethodToIntOverloaded. Convert this class instance's value to an int  
Public MethodToInt16Overloaded. Convert this class instance's value to a short data type  
Public MethodToInt32Overloaded. Convert this class instance's value to a int data type  
Public MethodToInt64Overloaded. Convert this class instance's value to a long data type  
Public MethodToReferenceConvert this instance's value to a ICalculationReference.  
Public MethodToSingleOverloaded. Convert this class instance's value to a float data type  
Public MethodToStringOverloaded. Returns a string representation of this instance's value.  
Public MethodToTypeConvert this class instance's value to a uint data type  
See Also