16 references to IsKey
System.Configuration.ConfigurationManager (15)
System\Configuration\ConfigurationProperty.cs (1)
188
public bool IsKey => (_options & ConfigurationPropertyOptions.
IsKey
) != 0;
System\Configuration\ConfigurationPropertyAttribute.cs (3)
45
get { return (Options & ConfigurationPropertyOptions.
IsKey
) != 0; }
48
if (value) Options |= ConfigurationPropertyOptions.
IsKey
;
49
else Options &= ~ConfigurationPropertyOptions.
IsKey
;
System\Configuration\ConnectionStringSettings.cs (2)
11
ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.
IsKey
);
43
Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.
IsKey
, DefaultValue = "")]
System\Configuration\DateTimeConfigurationElement.cs (1)
9
new ConfigurationProperty("value", typeof(DateTime), DateTime.MinValue, ConfigurationPropertyOptions.
IsKey
);
System\Configuration\KeyValueConfigurationElement.cs (2)
10
ConfigurationPropertyOptions.
IsKey
| ConfigurationPropertyOptions.IsRequired);
33
[ConfigurationProperty("key", Options = ConfigurationPropertyOptions.
IsKey
, DefaultValue = "")]
System\Configuration\NameValueConfigurationElement.cs (1)
9
new ConfigurationProperty("name", typeof(string), string.Empty, ConfigurationPropertyOptions.
IsKey
);
System\Configuration\ProviderSettings.cs (1)
19
ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.
IsKey
);
System\Configuration\SchemeSettingElement.cs (1)
9
ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.
IsKey
);
System\Configuration\SettingElement.cs (1)
14
ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.
IsKey
);
System\Diagnostics\ListenerElementsCollection.cs (1)
82
private static readonly ConfigurationProperty s_propName = new("name", typeof(string), null, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.
IsKey
);
System\Diagnostics\SwitchElementsCollection.cs (1)
23
private static readonly ConfigurationProperty _propName = new("name", typeof(string), "", ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.
IsKey
);
System.Runtime.Caching (1)
System\Runtime\Caching\Configuration\MemoryCacheElement.cs (1)
23
ConfigurationPropertyOptions.
IsKey
);