ElementTagName Property
Collapse the table of content
Expand the table of content

ElementTagName Property

IIS 7.0

Gets the XML tag name of the current element.

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

public string ElementTagName { get; }

Property Value

Type: System..::..String
The XML tag name of the current element.

The ElementTagName property value is the value of the ConfigurationAttributeSchema..::..Name property.

The following example gets the element tag from the ConfigurationElement object.

PropertyBag elementBag = new PropertyBag();
elementBag[ConfigurationDemoGlobals.SchemaName] = 
elementBag[ConfigurationDemoGlobals.ElementTagName] = 

Community Additions

© 2016 Microsoft