Class ExcelErrorValue¶
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Represents an Excel error.
Inheritance¶
Derived¶
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
GetHashCode()¶
Calculates a hash code for the object
Returns¶
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