Table of Contents

Class ExcelExternalNamedItemCollection<T>

Namespace
OfficeOpenXml.ExternalReferences
Assembly
EPPlus.dll

A collection of cached defined names in an external workbook

public class ExcelExternalNamedItemCollection<T> : EPPlusReadOnlyList<T>, IEnumerable<T>, IEnumerable where T : IExcelExternalNamedItem

Type Parameters

T
Inheritance
ExcelExternalNamedItemCollection<T>
Implements
Inherited Members

Constructors

ExcelExternalNamedItemCollection()

public ExcelExternalNamedItemCollection()

Properties

this[string]

Indexer for the collection

public T this[string name] { get; }

Parameters

name string

The name if the defined name

Property Value

T

Methods

ContainsKey(string)

If the name exists in the collection

public bool ContainsKey(string name)

Parameters

name string

The name. Case insensitive

Returns

bool

true if the name exists in the collection, otherwise false

GetIndexByName(string)

Returns the index if the worksheet with the supplied name

public int GetIndexByName(string name)

Parameters

name string

The worksheet name

Returns

int

The index name if it exists. Otherwise -1