FreeFlow class library

Server.SetAttachment Method 

Writes an attachment to the database. Folder attachments are not currently supported.

[Visual Basic]
Public Sub SetAttachment( _
   ByVal type As AttachmentType, _
   ByVal file As String, _
   ByVal owner As String, _
   ByVal data As Byte() _
)
[C#]
public void SetAttachment(
   AttachmentType type,
   string file,
   string owner,
   byte[] data
);

Parameters

type
The type of attachment.
file
The name of the file.
owner
The owner (map name, folder ID or procedure name).
data
The attachment data.

See Also

Server Class | FreeFlow.Administration Namespace