Export (0) Print
Expand All

NameValueSectionHandler.Create Method

Creates a new configuration handler and adds it to the section handler collection.

[Visual Basic]
Public Overridable Function Create( _
   ByVal parent As Object, _
   ByVal context As Object, _
   ByVal section As XmlNode _
) As Object Implements IConfigurationSectionHandler.Create
[C#]
public virtual object Create(
 object parent,
 object context,
 XmlNode section
);
[C++]
public: virtual Object* Create(
 Object* parent,
 Object* context,
 XmlNode* section
);
[JScript]
public function Create(
   parent : Object,
 context : Object,
 section : XmlNode
) : Object;

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 a null reference (Nothing in Visual Basic).
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 NameValueCollection.

Implements

IConfigurationSectionHandler.Create

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

NameValueSectionHandler Class | NameValueSectionHandler Members | System.Configuration Namespace

Show:
© 2014 Microsoft