MimeTextStructure Class |
Namespace: Limilabs.Client.IMAP
The MimeTextStructure type exposes the following members.
Name | Description | |
---|---|---|
Charset |
Gets the charset of this part.
| |
CharsetMatch | ||
ContentId |
Content id of the part. Without enclosing '<' and '>'.
You can use ContentIdHelper to extract content id from cid url.
(Inherited from MimeStructure.) | |
ContentTransferEncoding |
Gets the content transfer encoding of this part.
(Inherited from MimeStructure.) | |
ContentType |
Gets the content type of this part.
(Inherited from MimeBaseStructure.) | |
Data |
Gets data represented by this part.
You can use GetDataByUID(MimeStructure) or GetDataByNumber(MimeStructure) to fill this property.
May be null, if server responds with NIL response.
(Inherited from MimeStructure.) | |
Encoding |
Gets the encoding of this part.
| |
FileName |
Gets the suggested file name of this part. May be null or empty.
Consider using SafeFileName as it is guaranteed to contain valid file name.
(Inherited from MimeStructure.) | |
HasContentType |
Gets boolean value indicating, if content-type was specified explicitly for this entity.
(Inherited from MimeBaseStructure.) | |
HasFileName |
Gets a boolean value indicating if FileName is set.
(Inherited from MimeStructure.) | |
ID |
Gets the id of this part.
(Inherited from MimeBaseStructure.) | |
MessageNumber |
Gets the message number of the message, that this part belongs to.
(Inherited from MimeBaseStructure.) | |
SafeFileName |
Gets the safe file name of this part. All special characters and path are removed.
If the file name is not specified (FileName is or empty) generates random file name in format "att_d1be267b623941159a159158138a636e.dat".
(Inherited from MimeStructure.) | |
Size | Obsolete.
Gets the size of this part in bytes.
Note that this size is the size in attachment's transfer encoding and not the resulting size after any decoding.
This means that, for example, base64 encoded files, are in fact 37% smaller than the value of this property.
(Inherited from MimeStructure.) | |
Text |
Gets text represented by this part.
You can use GetDataByUID(MimeStructure) or GetDataByNumber(MimeStructure) to fill this property.
May be null, if server responds with NIL response.
| |
TransferSize |
Gets the size of this part in bytes.
Note that this size is the size in attachment's transfer encoding and not the resulting size after any decoding.
This means that, for example, base64 encoded files, are in fact 37% smaller than the value of this property.
(Inherited from MimeStructure.) | |
UID |
Gets the unique id (UID) of the message, that this part belongs to.
(Inherited from MimeBaseStructure.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EstimateActualSize | Obsolete.
Estimates actual attachment size.
Bases on assumption that Base64, UUE and XUUE encoded files are 37% smaller.
(Inherited from MimeStructure.) | |
EstimateSize |
Estimates actual attachment size.
Bases on assumption that Base64, UUE and XUUE encoded files are 37% smaller.
(Inherited from MimeStructure.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |