Class IisConnectionStringCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of IIS connection strings.
public class IisConnectionStringCollection : Collection<IisConnectionString>, IList<IisConnectionString>, ICollection<IisConnectionString>, IList, ICollection, IReadOnlyList<IisConnectionString>, IReadOnlyCollection<IisConnectionString>, IEnumerable<IisConnectionString>, IEnumerable
- Inheritance
-
IisConnectionStringCollection
- Implements
- Inherited Members
Constructors
IisConnectionStringCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.IisConnectionStringCollection class.
public IisConnectionStringCollection()
Methods
Exists(string)
Returns a System.Boolean value that indicates whether a connection string with the specified name exists within the collection.
public bool Exists(string name)
Parameters
name
stringThe extension of the CENTREL.XIA.Configuration.Types.IisConnectionString to locate.
Returns
- bool
A System.Boolean value that indicates whether a connection string with the specified name exists within the collection.
FindByName(string)
Returns the CENTREL.XIA.Configuration.Types.IisConnectionString with the specified name, or null if no CENTREL.XIA.Configuration.Types.IisConnectionString with that name is found.
public IisConnectionString FindByName(string name)
Parameters
name
stringThe name of the CENTREL.XIA.Configuration.Types.IisConnectionString to locate.
Returns
- IisConnectionString
The CENTREL.XIA.Configuration.Types.IisConnectionString with the specified name.
Sort()
Sorts the values in the collection.
public void Sort()