GetAttachment Method
Retrieves an attachment from the list specified by List .
Syntax
[VB.NET] Public Sub GetAttachment(ByVal RemoteFile As String)
[C#] public void GetAttachment(string remoteFile);
Remarks
The local document is specified by the LocalFile property. RemoteFile specifies the name of the attachment on the server.
Note: If SetDownloadStream has been called, the file contents will be written to the stream instead of to the LocalFile.