Table of Contents

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

string

Name

Represents a cell name error

public static ExcelErrorCodes Name { get; }

Property Value

ExcelErrorCodes

NoValueAvaliable

Reprecents a N/A error

public static ExcelErrorCodes NoValueAvaliable { get; }

Property Value

ExcelErrorCodes

Value

Represents a cell value error

public static ExcelErrorCodes Value { get; }

Property Value

ExcelErrorCodes

Methods

Equals(object)

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

public override bool Equals(object obj)

Parameters

obj object

The 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

bool

Operators

operator ==(ExcelErrorCodes, ExcelErrorCodes)

Equal operator

public static bool operator ==(ExcelErrorCodes c1, ExcelErrorCodes c2)

Parameters

c1 ExcelErrorCodes

The first error code to match

c2 ExcelErrorCodes

The second error code to match

Returns

bool

operator !=(ExcelErrorCodes, ExcelErrorCodes)

Not equal operator

public static bool operator !=(ExcelErrorCodes c1, ExcelErrorCodes c2)

Parameters

c1 ExcelErrorCodes

The first error code to match

c2 ExcelErrorCodes

The second error code to match

Returns

bool