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 |
|---|---|
| Int32 |
Methods
Add(Int32, String)
Adds an address to the cache
Declaration
public bool Add(int id, string address)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | id | |
| String | address |
Returns
| Type | Description |
|---|---|
| Boolean |
Clear()
Clears the cache
Declaration
public void Clear()
Get(Int32)
Returns an address by its cache id
Declaration
public string Get(int id)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | id |
Returns
| Type | Description |
|---|---|
| String |
GetNewId()
Returns an id to use for caching (when the Add(Int32, String) method is called)
Declaration
public int GetNewId()
Returns
| Type | Description |
|---|---|
| Int32 |