Class SearchProviderCollection
Implements operations for the search provider collection. (Inherits System.Configuration.Provider.ProviderCollection.)
Inheritance
System.Object
SearchProviderCollection
Namespace: Mediachase.Search
Assembly: Mediachase.Search.dll
Version: 9.24.1Syntax
public class SearchProviderCollection : ProviderCollection
Constructors
SearchProviderCollection()
Declaration
public SearchProviderCollection()
Properties
Item[String]
Gets the SearchProvider with the specified name.
Declaration
public SearchProvider this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Property Value
| Type | Description |
|---|---|
| SearchProvider |
Methods
Add(ProviderBase)
Adds a provider to the collection.
Declaration
public override void Add(ProviderBase provider)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Configuration.Provider.ProviderBase | provider | The provider to be added. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The collection is read-only. |
| System.ArgumentNullException |
|
| System.ArgumentException | The System.Configuration.Provider.ProviderBase.Name of |