${StandardHeader.C#}
using System;
using System.Configuration;
namespace ${StandardNamespace}
{
///
/// An xml representation of a recent element.
///
public sealed class RecentFileElement : ConfigurationElement
{
///
/// The full path of the recently opened file.
///
[ConfigurationProperty("fileName", IsKey = true, IsRequired = true)]
public string Name
{
get { return (string)this["fileName"]; }
set { this["fileName"] = value; }
}
internal RecentFileElement() : base()
{}
internal RecentFileElement(string FileName) : base()
{
this.Name = FileName;
}
}
}