public sealed class FileAttachment : Attachment
Public NotInheritable Class FileAttachment
Inherits Attachment
public ref class FileAttachment sealed : public Attachment
[<SealedAttribute>]
type FileAttachment =
class
inherit Attachment
end
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) |
Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
GetHashCode | Serves as the default hash function. (Унаследован от Object) |
GetType | Gets 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. |
MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
ToString | Returns a string that represents the current object. (Унаследован от Object) |