XlVariantValue Members
A variant value that can be used as a cell value, filter value or function argument.Fields
| Name | Description |
|---|---|
| Empty static | Returns the XlVariantValue object specifying an empty value. |
| ErrorDivisionByZero static | Returns the XlVariantValue object specifying the #DIV/0! cell error. |
| ErrorInvalidValueInFunction static | Returns the XlVariantValue object specifying the #VALUE! cell error. |
| ErrorName static | Returns the XlVariantValue object specifying the #NAME? cell error. |
| ErrorNullIntersection static | Returns the XlVariantValue object specifying the #NULL! cell error. |
| ErrorNumber static | Returns the XlVariantValue object specifying the #NUM! cell error. |
| ErrorReference static | Returns the XlVariantValue object specifying the #REF! cell error. |
| ErrorValueNotAvailable static | Returns the XlVariantValue object specifying the #N/A cell error. |
Properties
| Name | Description |
|---|---|
| AltText | Gets or sets the alternative text for an object. |
| BaseDate static | This member supports the internal infrastructure and is not intended to be used directly from your code. |
| BooleanValue | Gets or sets the boolean value stored by the XlVariantValue object. |
| DateTimeValue | Gets or sets the date and time value stored by the XlVariantValue object. |
| Day29Feb1900 static | This member supports the internal infrastructure and is not intended to be used directly from your code. |
| ErrorValue | Gets or sets the cell error stored by the XlVariantValue object. |
| FalseConstant static | This member supports the internal infrastructure and is not intended to be used directly from your code. |
| ImageValue | Gets or sets the image stored by the XlVariantValue object. |
| IsBoolean | Gets whether the current XlVariantValue object contains a Boolean value. |
| IsEmpty | Gets whether the current XlVariantValue object has an empty value. |
| IsError | Gets whether the current XlVariantValue object contains an error. |
| IsImage | Gets whether the current XlVariantValue object contains an image. |
| IsNumeric | Gets whether the current XlVariantValue object contains a number. |
| IsText | Gets whether the current XlVariantValue object contains text. |
| NumericValue | Gets or sets the number stored by the XlVariantValue object. |
| TextValue | Gets or sets the text stored by the XlVariantValue object. |
| TrueConstant static | This member supports the internal infrastructure and is not intended to be used directly from your code. |
| Type | Gets the type of the XlVariantValue object. |
Methods
| Name | Description |
|---|---|
| Equals(XlVariantValue) | Determines whether the specified object is equal to this XlVariantValue object. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current XlVariantValue instance. |
| FromObject(Object) static | Converts the specified object to XlVariantValue. |
| GetHashCode() | Gets the hash code (a number) that corresponds to the value of the current XlVariantValue object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| SetDateTimeSerial(Double, Boolean) | This member supports the internal infrastructure and is not intended to be used directly from your code. |
| ToString() | Returns the fully qualified type name of this instance. Inherited from ValueType. |
| ToText() |
This member supports the internal infrastructure and is not intended to be used directly from your code. Returns a value containing a textual representation of the XlVariantValue object. |
| ToText(CultureInfo) |
This member supports the internal infrastructure and is not intended to be used directly from your code. Returns a value containing a textual representation of the XlVariantValue object. |
See Also