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¶
object ← EPPlusReadOnlyList<T> ← ExcelExternalNamedItemCollection<T>
Implements¶
Inherited Members¶
EPPlusReadOnlyList<T>.Count
EPPlusReadOnlyList<T>.GetIndexByValue(T)
EPPlusReadOnlyList<T>.this[int]
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Constructors¶
ExcelExternalNamedItemCollection()¶
Properties¶
this[string]¶
Indexer for the collection
Property Value¶
T
Methods¶
ContainsKey(string)¶
If the name exists in the collection
Parameters¶
name string
The name. Case insensitive
Returns¶
true if the name exists in the collection, otherwise false
GetIndexByName(string)¶
Returns the index if the worksheet with the supplied name
Parameters¶
name string
The worksheet name
Returns¶
The index name if it exists. Otherwise -1