FileName property
String?
get
FileName
Implementation
// void LoadWithFileName(String fileName)
// {
// this.loadToStream = new FileStream(fileName, FileMode.Create);
//
// try
// {
// this.Load();
// }
// finally
// {
// this.loadToStream.Dispose();
// this.loadToStream = null;
// }
//
// this.fileName = fileName;
// this.content = null;
// this.contentStream = null;
// }
/// <summary>
/// Gets the name of the file the attachment is linked to.
/// </summary>
String? get FileName => this._fileName;
set
FileName
(String? value)
Implementation
set FileName(String? value) {
this.ThrowIfThisIsNotNew();
this._fileName = value;
this._content = null;
this._contentStream = null;
}