NameValueSectionHandler.Create Method

Creates a new configuration handler and adds it to the section-handler collection based on the specified parameters.

Namespace: System.Configuration
Assembly: System (in system.dll)

public Object Create (
	Object parent,
	Object context,
	XmlNode section
public final Object Create (
	Object parent, 
	Object context, 
	XmlNode section
public final function Create (
	parent : Object, 
	context : Object, 
	section : XmlNode
) : Object
Not applicable.



Parent object.


Configuration context object.


Section XML node.

Return Value

A configuration object.

The parent object parameter acts as the configuration settings in the corresponding parent configuration section. The context object parameter is 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). The section parameter is the XmlNode object that contains the configuration information to be handled. The section parameter provides direct access to the XML contents of the configuration section.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions