Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
<DispIdAttribute()> _
Sub SaveAsFile ( _
Path As String _
)
'Usage
Dim instance As Attachment
Dim Path As String
instance.SaveAsFile(Path)
[DispIdAttribute()]
void SaveAsFile(
string Path
)
Parameters
Path
Type: System.StringThe location at which to save the attachment.
See Also
Reference
Microsoft.Office.Interop.Outlook Namespace
Other Resources
How to: Programmatically Remove Security Level 2 Attachments from Messages and Save Them to Disk