FileName Property
This documentation is archived and is not being maintained.

Attachment.FileName Property

Returns a String (string in C#) representing the file name of the attachment. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

[DispIdAttribute()]
string FileName { get; }

Property Value

Type: System.String

Use this property in conjunction with the PathName property.

Show:
© 2016 Microsoft