SPEmailAttachment.FileName property
Gets the name of the attached file.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property FileName As String
Get
'Usage
Dim instance As SPEmailAttachment
Dim value As String
value = instance.FileName
public string FileName { get; }
Property value
Type: System.String
A string that contains the file name.