Class ExcelErrorValue¶
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Represents an Excel error.
Inheritance¶
Derived¶
ExcelRichDataErrorValue
RichDataReferenceValueError
Implements¶
IEqualityComparer<ExcelErrorValue>
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
AsCompileResult¶
Returns the error as a CompileResult
Property Value¶
Type¶
The error type
Property Value¶
Methods¶
Create(eErrorType)¶
Creates an ExcelErrorValue from a ExcelErrorValue
Parameters¶
errorType eErrorType
The type of error to create
Returns¶
The ExcelErrorValue
Equals(object)¶
Checks if the object is equals to another
Parameters¶
obj object
The object to compare
Returns¶
True if equals
Equals(ExcelErrorValue, ExcelErrorValue)¶
Determines whether the specified ExcelErrorValue are equal.
Parameters¶
The first object to compare.
The first object to compare.
Returns¶
true if the specified objects are equal; otherwise, false.
GetHashCode()¶
Serves as the default hash function
Returns¶
A hash code for the current object
GetHashCode(ExcelErrorValue)¶
Returns a hash code for the specified object.
Parameters¶
obj ExcelErrorValue
The ExcelErrorValue for which a hash code is to be returned
Returns¶
A hash code for the specified object.
Parse(string)¶
Parses a error value string and returns the ExcelErrorValue
Parameters¶
val string
The error code
Returns¶
Exceptions¶
Is thrown when val is empty
Is thrown when val is not a valid Excel error.
If the argument cannot be converted.
ToString()¶
Returns the string representation of the error type
Returns¶
Operators¶
operator +(object, ExcelErrorValue)¶
Operator for addition.
Parameters¶
v1 object
Left side
Right side
Returns¶
Return the error value in V2
operator +(ExcelErrorValue, ExcelErrorValue)¶
Operator for addition.
Parameters¶
Left side
Right side
Returns¶
Return the error value in V1