Share via


Attachment.FileName property

The FileName property gets or sets the file name for the attachment.

Namespace:  Microsoft.Exchange.Data.Transport.Email
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Property FileName As String
    Get
    Set
'Usage
Dim instance As Attachment
Dim value As String

value = instance.FileName

instance.FileName = value
public string FileName { get; set; }

Property value

Type: System.String

See also

Reference

Attachment class

Attachment members

Microsoft.Exchange.Data.Transport.Email namespace