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