Class ExcelErrorCodes
- Namespace
- OfficeOpenXml.FormulaParsing.Exceptions
- Assembly
- EPPlus.dll
Represents an Excel error code.
public class ExcelErrorCodes
- Inheritance
-
ExcelErrorCodes
- Inherited Members
Properties
Code
The error code
public string Code { get; }
Property Value
Name
Represents a cell name error
public static ExcelErrorCodes Name { get; }
Property Value
NoValueAvaliable
Reprecents a N/A error
public static ExcelErrorCodes NoValueAvaliable { get; }
Property Value
Value
Represents a cell value error
public static ExcelErrorCodes Value { get; }
Property Value
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
- bool
true if the specified object is equal to the current object; otherwise, false.
GetHashCode()
Returns the hash code for this string.
public override int GetHashCode()
Returns
- int
The hash code
IsErrorCode(object)
Returns true if valueToTest
matches an error code.
public static bool IsErrorCode(object valueToTest)
Parameters
valueToTest
object
Returns
Operators
operator ==(ExcelErrorCodes, ExcelErrorCodes)
Equal operator
public static bool operator ==(ExcelErrorCodes c1, ExcelErrorCodes c2)
Parameters
c1
ExcelErrorCodesThe first error code to match
c2
ExcelErrorCodesThe second error code to match
Returns
operator !=(ExcelErrorCodes, ExcelErrorCodes)
Not equal operator
public static bool operator !=(ExcelErrorCodes c1, ExcelErrorCodes c2)
Parameters
c1
ExcelErrorCodesThe first error code to match
c2
ExcelErrorCodesThe second error code to match