17 using System.Configuration;
31 private static ConfigurationProperty _field;
32 private static ConfigurationProperty _title;
33 private static ConfigurationPropertyCollection _properties;
37 _field =
new ConfigurationProperty(
"field", typeof(
string),
38 null, ConfigurationPropertyOptions.IsRequired);
39 _title =
new ConfigurationProperty(
"title", typeof(
string),
40 null, ConfigurationPropertyOptions.IsRequired);
42 _properties =
new ConfigurationPropertyCollection();
43 _properties.Add(_field);
44 _properties.Add(_title);
51 [ConfigurationProperty(
"field", DefaultValue =
"", IsKey =
true, IsRequired =
true)]
54 get {
return (
string)base[_field]; }
61 [ConfigurationProperty(
"title", DefaultValue =
"", IsKey =
false, IsRequired =
true)]
64 get {
return (
string)base[_title]; }
67 protected override ConfigurationPropertyCollection Properties
69 get {
return _properties; }
An Active Directory user property element field-title pair from
.exe.config. These are user properties not in the regular default set.
string Field
The field from a field-title pair in
.exe.config.
string Title
The title from a field-title pair in
.exe.config.