Selectors indicates the storage location of configuration information. The configuration system defines several selector classes which all derive from the abstract Selector base class.
Selectors are modeled after URLs. The configuration system itself uses the URL protocol prefix to determine the kind of storage location (file, web server file, query etc.). The individual selector classes determine the semantics of the remainder of the URL.
Object
Selector
[Visual Basic] MustInherit Public Class Selector [C#] public abstract class Selector [C++] public __gc __abstract class Selector [JScript] public abstract class Selector
If multiple configuration types are to be requested for the same selector, your application can reduce parsing overhead by creating the selector object once (using GetSelectorFromString or by directly creating a new selector instance of the appropriate class), and reusing it for calls to the ConfigManager.
Namespace: System.Configuration
Assembly: System.Configuration.dll
Selector Members | System.Configuration Namespace | FileSelector | AppDomainSelector | LocalMachineSelector | HttpSelector