FreeFlow class library

Server.SaveAttachmentToFile Method 

Saves the specified attachment to a file on disk.

[Visual Basic]
Public Sub SaveAttachmentToFile( _
   ByVal type As AttachmentType, _
   ByVal file As String, _
   ByVal owner As String, _
   ByVal fileName As String _
)
[C#]
public void SaveAttachmentToFile(
   AttachmentType type,
   string file,
   string owner,
   string fileName
);

Parameters

type
The type of attachment.
file
The attachment filename.
owner
The owner of the attachment (folder ID for folder attachments, map name for map attachments, procedure name for procedure attachments).
fileName
Name of the file to save to.

See Also

Server Class | FreeFlow.Administration Namespace