Show / Hide Table of Contents

Class ExcelErrorCodes

Represents an Excel error code.

Inheritance
object
ExcelErrorCodes
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OfficeOpenXml.FormulaParsing.Exceptions
Assembly: EPPlus.dll
Syntax
public class ExcelErrorCodes

Properties

Code

The error code

Declaration
public string Code { get; }
Property Value
Type Description
string

Name

Represents a cell name error

Declaration
public static ExcelErrorCodes Name { get; }
Property Value
Type Description
ExcelErrorCodes

NoValueAvaliable

Reprecents a N/A error

Declaration
public static ExcelErrorCodes NoValueAvaliable { get; }
Property Value
Type Description
ExcelErrorCodes

Value

Represents a cell value error

Declaration
public static ExcelErrorCodes Value { get; }
Property Value
Type Description
ExcelErrorCodes

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
object.Equals(object)

GetHashCode()

Returns the hash code for this string.

Declaration
public override int GetHashCode()
Returns
Type Description
int

The hash code

Overrides
object.GetHashCode()

IsErrorCode(object)

Returns true if valueToTest matches an error code.

Declaration
public static bool IsErrorCode(object valueToTest)
Parameters
Type Name Description
object valueToTest
Returns
Type Description
bool

Operators

operator ==(ExcelErrorCodes, ExcelErrorCodes)

Equal operator

Declaration
public static bool operator ==(ExcelErrorCodes c1, ExcelErrorCodes c2)
Parameters
Type Name Description
ExcelErrorCodes c1

The first error code to match

ExcelErrorCodes c2

The second error code to match

Returns
Type Description
bool

operator !=(ExcelErrorCodes, ExcelErrorCodes)

Not equal operator

Declaration
public static bool operator !=(ExcelErrorCodes c1, ExcelErrorCodes c2)
Parameters
Type Name Description
ExcelErrorCodes c1

The first error code to match

ExcelErrorCodes c2

The second error code to match

Returns
Type Description
bool
In this article
Back to top Generated by DocFX