System.Configuration.DictionarySectionHandler Class

Assembly: System.dll
Namespace: System.Configuration
Summary
Reads key-value pair configuration information for a configuration section.
C# Syntax:
public class DictionarySectionHandler : IConfigurationSectionHandler
See also:
System.Configuration Namespace

System.Configuration.DictionarySectionHandler Member List:

Public Constructors
ctor #1 Default constructor. This constructor is called by derived class constructors to initialize state in this type.
Public Methods
Create Evaluates the given XML section and returns a Hashtable that contains the results of the evaluation.
Equals
(inherited from System.Object)
See base class member description: System.Object.Equals

Derived from System.Object, the primary base class for all objects.
GetHashCode
(inherited from System.Object)
See base class member description: System.Object.GetHashCode

Derived from System.Object, the primary base class for all objects.
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
ToString
(inherited from System.Object)
See base class member description: System.Object.ToString

Derived from System.Object, the primary base class for all objects.
Protected Properties
KeyAttributeName Read-only

Gets the name of the key attribute tag.
ValueAttributeName Read-only

Gets the name of the value tag.
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Configuration.DictionarySectionHandler Member Details

ctor #1
Summary:
Default constructor. This constructor is called by derived class constructors to initialize state in this type.
C# Syntax:
public DictionarySectionHandler();

Return to top


Property: KeyAttributeName (read-only)
Summary
Gets the name of the key attribute tag.
C# Syntax:
protected virtual string KeyAttributeName {get;}
Remarks
This property is overridden by derived classes to change the name of the key attribute tag. The default is "key".

Return to top


Property: ValueAttributeName (read-only)
Summary
Gets the name of the value tag.
C# Syntax:
protected virtual string ValueAttributeName {get;}
Remarks
This property may be overridden by derived classes to change the name of the value tag. The default is "value".

Return to top


Method: Create(
   object parent,
   object context,
   XmlNode section
)
Summary
Evaluates the given XML section and returns a Hashtable that contains the results of the evaluation.
C# Syntax:
public virtual object Create(
   object parent,
   object context,
   XmlNode section
);
Parameters:

parent

The configuration settings in a corresponding parent configuration section.

context

The virtual path for which the configuration section handler computes configuration values. Normally this parameter is reserved and is null.

section

The XmlNode that contains the configuration information to be handled. Provides direct access to the XML contents of the configuration section.

Return Value:
A Hashtable that contains the section's configuration settings.
Implements:
IConfigurationSectionHandler.Create

Return to top


Method: Equals(
   object obj
)
Inherited
See base class member description: System.Object.Equals
C# Syntax:
public virtual bool Equals(
   object obj
);

For more information on members inherited from System.Object click on the link above.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~DictionarySectionHandler();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetHashCode()
Inherited
See base class member description: System.Object.GetHashCode
C# Syntax:
public virtual int GetHashCode();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ToString()
Inherited
See base class member description: System.Object.ToString
C# Syntax:
public virtual string ToString();

For more information on members inherited from System.Object click on the link above.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.