Show / Hide Table of Contents

Class ExcelAddressCache

Caches string by generated id's.

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

Properties

Count

Number of items in the cache

Declaration
public int Count { get; }
Property Value
Type Description
int

Methods

Add(int, string)

Adds an address to the cache

Declaration
public bool Add(int id, string address)
Parameters
Type Name Description
int id
string address
Returns
Type Description
bool

Clear()

Clears the cache

Declaration
public void Clear()

Get(int)

Returns an address by its cache id

Declaration
public string Get(int id)
Parameters
Type Name Description
int id
Returns
Type Description
string

GetNewId()

Returns an id to use for caching (when the Add(int, string) method is called)

Declaration
public int GetNewId()
Returns
Type Description
int
In this article
Back to top Generated by DocFX