Class OdbcDataSourcePropertyCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of open database connectivity (ODBC) data source properties.
public class OdbcDataSourcePropertyCollection : Collection<OdbcDataSourceProperty>, IList<OdbcDataSourceProperty>, ICollection<OdbcDataSourceProperty>, IList, ICollection, IReadOnlyList<OdbcDataSourceProperty>, IReadOnlyCollection<OdbcDataSourceProperty>, IEnumerable<OdbcDataSourceProperty>, IEnumerable
- Inheritance
-
OdbcDataSourcePropertyCollection
- Implements
- Inherited Members
Constructors
OdbcDataSourcePropertyCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.OdbcDataSourcePropertyCollection class.
public OdbcDataSourcePropertyCollection()
Methods
Exists(string)
Returns a System.Boolaen value that indicates whether an ODBC property with the specified name exists within the collection.
public bool Exists(string name)
Parameters
name
stringThe name of the ODBC property to locate.
Returns
- bool
A System.Boolaen value that indicates whether an ODBC property with the specified name exists within the collection
FindByName(string)
Returns the ODBC property with the specified name, or null if no ODBC property with that name is found.
public OdbcDataSourceProperty FindByName(string name)
Parameters
name
stringThe name of the ODBC property to locate.
Returns
- OdbcDataSourceProperty
The ODBC property with the specified name.
Remove(string)
Removes the ODBC property with the specified name from the collection.
public void Remove(string name)
Parameters
name
stringThe name of the ODBC property to remove.
Sort()
Sorts the values in the collection.
public void Sort()