FileName Property

Returns a String representing the file name of the attachment. Use this property in conjunction with the PathName property. Read-only.

expression**.FileName**

*expression   * Required. An expression that returns an Attachment object.

Applies to | Attachment Object