SystemDrawingSection
Represents the configuration section used by classes in the Drawing namespace.
using System.Configuration;
namespace System.Drawing.Configuration
{
public sealed class SystemDrawingSection : ConfigurationSection
{
private const string BitmapSuffixSectionName = "bitmapSuffix";
private static readonly ConfigurationPropertyCollection s_properties;
private static readonly ConfigurationProperty s_bitmapSuffix;
[ConfigurationProperty("bitmapSuffix")]
public string BitmapSuffix {
get {
return (string)base[s_bitmapSuffix];
}
set {
base[s_bitmapSuffix] = value;
}
}
protected internal override ConfigurationPropertyCollection Properties => s_properties;
static SystemDrawingSection()
{
s_properties = new ConfigurationPropertyCollection();
s_bitmapSuffix = new ConfigurationProperty("bitmapSuffix", typeof(string), null, ConfigurationPropertyOptions.None);
s_properties.Add(s_bitmapSuffix);
}
}
}