ConfigurationCollectionSchema.GetAddElementSchema(String) Method

Definition

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

public:
 Microsoft::Web::Administration::ConfigurationElementSchema ^ GetAddElementSchema(System::String ^ elementName);
public Microsoft.Web.Administration.ConfigurationElementSchema GetAddElementSchema (string elementName);
member this.GetAddElementSchema : string -> Microsoft.Web.Administration.ConfigurationElementSchema
Public Function GetAddElementSchema (elementName As String) As ConfigurationElementSchema

Parameters

elementName
String

The name of the add element.

Returns

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

Remarks

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.

Applies to