NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Selector Class

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

Remarks

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.

Requirements

Namespace: System.Configuration

Assembly: System.Configuration.dll

See Also

Selector Members | System.Configuration Namespace | FileSelector | AppDomainSelector | LocalMachineSelector | HttpSelector