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