Class ExcelErrorValue
Represents an Excel error.
Inheritance
System.Object
ExcelErrorValue
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelErrorValue
Properties
Type
The error type
Declaration
public eErrorType Type { get; }
Property Value
Type | Description |
---|---|
eErrorType |
Methods
Equals(Object)
Checks if the object is equals to another
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare |
Returns
Type | Description |
---|---|
System.Boolean | True if equals |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Calculates a hash code for the object
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Returns the string representation of the error type
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Operators
Addition(ExcelErrorValue, ExcelErrorValue)
Operator for addition.
Declaration
public static ExcelErrorValue operator +(ExcelErrorValue v1, ExcelErrorValue v2)
Parameters
Type | Name | Description |
---|---|---|
ExcelErrorValue | v1 | Left side |
ExcelErrorValue | v2 | Right side |
Returns
Type | Description |
---|---|
ExcelErrorValue | Return the error value in V1 |
Addition(Object, ExcelErrorValue)
Operator for addition.
Declaration
public static ExcelErrorValue operator +(object v1, ExcelErrorValue v2)
Parameters
Type | Name | Description |
---|---|---|
System.Object | v1 | Left side |
ExcelErrorValue | v2 | Right side |
Returns
Type | Description |
---|---|
ExcelErrorValue | Return the error value in V2 |