ConfigurationCollectionSchema.GetAddElementSchema Method (String)

IIS 7.0
 

Returns the schema for the add element that has the specified name.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public ConfigurationElementSchema GetAddElementSchema(
	string elementName
)

Parameters

elementName
Type: System.String

The name of the add element.

Return Value

Type: Microsoft.Web.Administration.ConfigurationElementSchema

The schema for the add element that has the specified name.

A collection may append elements that have different schemas based on the values of the AddElementNames property. The GetAddElementSchema method returns the schema for an add element that has a name that matches the value of the elementName parameter.

Return to top
Show: