3 overrides of ElementName
System.Configuration.ConfigurationManager (3)
System\Configuration\SettingElementCollection.cs (1)
16protected override string ElementName
System\Diagnostics\ListenerElementsCollection.cs (1)
76protected override string ElementName => "add";
System\Diagnostics\SourceElementsCollection.cs (1)
18protected override string ElementName => "source";
11 references to ElementName
System.Configuration.ConfigurationManager (11)
System\Configuration\ConfigurationElementCollection.cs (11)
107if (!string.IsNullOrEmpty(ElementName)) return "'" + ElementName + "'"; 624if (BaseConfigurationRecord.IsReservedAttributeName(ElementName)) 625throw new ArgumentException(SR.Format(SR.Basicmap_item_name_reserved, ElementName)); 626CheckLockedElement(ElementName, null); 1057if (!string.IsNullOrEmpty(ElementName)) 1059if (BaseConfigurationRecord.IsReservedAttributeName(ElementName)) 1062ElementName)); 1065dataToWrite |= entry.Value.SerializeToXmlElement(writer, ElementName); 1135if (elementName == ElementName) 1219return (elementName == ElementName) || IsElementName(elementName);