ISharePointAttachmentCollection.AddStream

Fore Syntax

AddStream(FileName: String; Stream: IIOStream): String;

Fore.NET Syntax

None

Parameters

FileName. The name, which is used by the attachment and available in the properties of element list.

Stream. The stream connected to the file that must be used as an attachment.

Description

The AddStream method adds a stream for the attachment element and returns the absolute path to it.

Example

The example of use is given in description of the ISharePointUtility.CreateNewDiscussion method.

See also:

ISharePointAttachmentCollection