This documentation is archived and is not being maintained.

MailAttachment.Filename Property

Gets the name of the attachment file.

[Visual Basic]
Public ReadOnly Property Filename As String
[C#]
public string Filename {get;}
[C++]
public: __property String* get_Filename();
[JScript]
public function get Filename() : String;

Property Value

The name of the attachment file.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

MailAttachment Class | MailAttachment Members | System.Web.Mail Namespace

Show: