Skip to main content
Row

ValueObject Members

An object that can be used to specify a value associated with a custom cell in-place editor or to create a criterion for data validation.

Properties

Name Description
BooleanValue Converts the object’s value to Boolean and returns the result.
Empty static Returns an empty object.
ErrorValue Converts the object’s value to cell error type and returns the result.
Formula Converts the object’s value to a worksheet formula and returns the result.
FormulaInvariant Converts the object’s value to a worksheet formula in the invariant culture (English), and returns the result.
IsBoolean Gets whether the object originates from the value of the boolean type.
IsEmpty Gets whether the object has an empty value.
IsError Gets whether the object contains a Cell Error value.
IsFormula Gets whether the object contains a cell formula value.
IsNumeric Gets whether the object originates from a number.
IsRange Gets whether the object originates from a worksheet Range.
IsText Gets whether the object originates from a text string.
NumericValue Converts the object’s value to numeric and returns the result.
RangeValue Converts the object’s value to a worksheet range and returns the result.
TextValue Converts the object’s value to a string and returns the result.

Methods

Name Description
CreateListSource(CellValue[]) static Creates the ValueObject instance from the specified array of values.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether two objects are equal.
FromDateTime(DateTime, Boolean) static Creates the ValueObject instance from the DateTime object using the specified date system.
FromFormula(String, Boolean) static Creates the ValueObject instance using the formula string.
FromRange(CellRange) static Creates the ValueObject instance that originates from the worksheet range.
GetDateTimeValue(Boolean) Converts the object’s value to DateTime and returns the result.
GetHashCode() Returns a number that identifies the object instance.
GetType() Gets the Type of the current instance. Inherited from Object.
IsNullOrEmpty(ValueObject) static Determines whether the specified object is null or has an empty value.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Operators

Name Description
Implicit(CellValue to ValueObject) static Implicitly converts a cell value to a ValueObject instance.
Implicit(Boolean to ValueObject) static Implicitly converts a Boolean value to a ValueObject instance.
Implicit(Char to ValueObject) static Implicitly converts a Char value to a ValueObject instance.
Implicit(DateTime to ValueObject) static Implicitly converts a DateTime object to a ValueObject instance.
Implicit(Double to ValueObject) static Implicitly converts a Double value to a ValueObject instance.
Implicit(Int32 to ValueObject) static Implicitly converts an Int32 value to a ValueObject instance.
Implicit(String to ValueObject) static Implicitly converts a String value to a ValueObject instance.
See Also