Class ExcelQueryTableCollection¶
Namespace: OfficeOpenXml.Data.QueryTable
Assembly: EPPlus.dll
A collection of legacy query tables in a worksheet. Also see AddQueryTable(ExcelAddressBase, string, ExcelConnection, string[])
Inheritance¶
object ← ExcelQueryTableCollection
Implements¶
IEnumerable
IEnumerable<ExcelQueryTable>
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Count¶
The number of query tables in the collection
Property Value¶
this[int]¶
The query table index.
Property Value¶
this[string]¶
Indexer
Property Value¶
Methods¶
Add(ExcelAddressBase, string, ExcelConnection)¶
Adds a new query table to the collection. Worksheet level query tables are legacy objects and can only be used for older types of connection. For newer types of connections like PowerQuery, use AddQueryTable(ExcelAddressBase, string, ExcelConnection, string[]) instead.
Parameters¶
address ExcelAddressBase
The address
name string
The name of the query table.
connection ExcelConnection
The connection
Returns¶
Exceptions¶
GetEnumerator()¶
The enumerator for the collection
Returns¶
Remove(ExcelQueryTable)¶
Removes the query table from the collection.
Parameters¶
queryTable ExcelQueryTable
RemoveAt(int)¶
Removes the query table at the given index from the collection.
Parameters¶
index int