Export (0) Print
Expand All

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

Parameters

parent

Parent object.

context

Configuration context object.

section

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft