FileAttachment - класс

Represents a file attachment.

Definition

Пространство имён: Tessa.Exchange.WebServices.Data
Сборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
C#
public sealed class FileAttachment : Attachment
Inheritance
Object    ComplexProperty    Attachment    FileAttachment

Свойства

Content Gets the content of the attachment into memory. Content is set only when Load() is called.
ContentId Gets or sets the content Id of the attachment. ContentId can be used as a custom way to identify an attachment in order to reference it from within the body of the item the attachment belongs to.
(Унаследован от Attachment)
ContentLocation Gets or sets the content location of the attachment. ContentLocation can be used to associate an attachment with a Url defining its location on the Web.
(Унаследован от Attachment)
ContentType Gets or sets the content type of the attachment.
(Унаследован от Attachment)
FileName Gets the name of the file the attachment is linked to.
Id Gets the Id of the attachment.
(Унаследован от Attachment)
IsContactPhoto Gets or sets a value indicating whether this attachment is a contact photo.
IsInline Gets or sets a value indicating whether this is an inline attachment. Inline attachments are not visible to end users.
(Унаследован от Attachment)
LastModifiedTime Gets the date and time when this attachment was last modified.
(Унаследован от Attachment)
Name Gets or sets the name of the attachment.
(Унаследован от Attachment)
Size Gets the size of the attachment.
(Унаследован от Attachment)

Методы

EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
Load(CancellationToken) Loads the attachment. Calling this method results in a call to EWS.
(Унаследован от Attachment)
Load(Stream) Loads the content of the file attachment into the specified stream. Calling this method results in a call to EWS.
Load(String) Loads the content of the file attachment into the specified file. Calling this method results in a call to EWS.
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

Методы расширения

Get
(Определяется ComHelper)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)

См. также