Attachment.Name Property
Gets the file name of the attachment.
Namespace: Microsoft.Office.SharePointWorkspace.AddIn.Data
Assembly: Microsoft.Office.SharePointWorkspace.AddIn.Data (in Microsoft.Office.SharePointWorkspace.AddIn.Data.dll)
Syntax
'Declaration
Public Property Name As String
Get
Private Set
'Usage
Dim instance As Attachment
Dim value As String
value = instance.Name
public string Name { get; private set; }
Property Value
Type: System.String
The file name of the attachment.
Remarks
The name can include both a file name and a file type. You set the name by calling the AddAttachment or RenameAttachment method.