Attachment.SaveAsFile Method
Saves the attachment to the specified path.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Sub SaveAsFile ( _
Path As String _
)
'Usage
Dim instance As Attachment
Dim Path As String
instance.SaveAsFile(Path)
void SaveAsFile(
string Path
)
Parameters
- Path
Type: System.String
The location at which to save the attachment.