AttachmentCollectionAddFileAttachment(String, Stream) - метод |
Adds a file attachment to the collection.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public FileAttachment AddFileAttachment(
string name,
Stream contentStream
)
Public Function AddFileAttachment (
name As String,
contentStream As Stream
) As FileAttachment
public:
FileAttachment^ AddFileAttachment(
String^ name,
Stream^ contentStream
)
member AddFileAttachment :
name : string *
contentStream : Stream -> FileAttachment
Параметры
- name
- Тип: SystemString
The display name of the new attachment. - contentStream
- Тип: System.IOStream
The stream from which to read the content of the attachment.
Возвращаемое значение
Тип:
FileAttachmentA FileAttachment instance.
См. также