SPEmailAttachment.FileName Property
Gets the name of the attached file.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.