Class ExcelConnectionParameters
A collection of connection parameters.
Inherited Members
Namespace: OfficeOpenXml.Data.Connection
Assembly: EPPlus.dll
Syntax
public class ExcelConnectionParameters : IEnumerable<ExcelConnectionParameter>, IEnumerable
Properties
Count
Number of items in the collection.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Indexer for the collection
Declaration
public ExcelConnectionParameter this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of the parameter to get. |
Property Value
| Type | Description |
|---|---|
| ExcelConnectionParameter | The parameter. |
Methods
Add()
Adds a new blank parameter to the collection and returns it.
Declaration
public ExcelConnectionParameter Add()
Returns
| Type | Description |
|---|---|
| ExcelConnectionParameter |
GetEnumerator()
The enumerator
Declaration
public IEnumerator<ExcelConnectionParameter> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelConnectionParameter> |
Remove(ExcelConnectionParameter)
Removes the parameter from the collection.
Declaration
public void Remove(ExcelConnectionParameter parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelConnectionParameter | parameter |
RemoveAt(int)
Remove the parameter at the index supplied
Declaration
public void RemoveAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of the parameter to remove. |