Dart.Mail Namespace : Attachment Class |
The following tables list the members exposed by Attachment.
Name | Description | |
---|---|---|
![]() | Attachment Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | Content | A reference to the attached file. When DecodeToMemory is false, decoded attachments are stored in this file. |
![]() | ContentDisposition | Gets or sets the ContentDisposition values associated with this part. (Inherited from Dart.Mail.Resource) |
![]() | ContentId | Links this resource to a root html part within a "multipart/related" part. (Inherited from Dart.Mail.Resource) |
![]() | ContentType | Gets or sets the "Content-Type" header field for the part. (Inherited from Dart.Mail.Part) |
![]() ![]() | DecodeToMemory | Gets or sets a value that specifies if a MemoryStream should be used for storing decoded content instead of Content. |
![]() ![]() | Directory | Designates the location to temporarily store decoded file attachments. |
![]() | FileName | Gets and sets ContentDisposition.FileName and ContentType.Name. |
![]() | Headers | Provides a Part.Headers instance that lists all unique header fields. (Inherited from Dart.Mail.Part) |
![]() | Length | Overridden. Returns the approximate Length of the encoded part. |
![]() | Tag | Gets or sets an object that stores any user data. (Inherited from Dart.Mail.Part) |
![]() | TransferEncoding | Gets or sets the TransferEncoding value ("content-transfer-encoding") associated with this part. (Inherited from Dart.Mail.Resource) |
Name | Description | |
---|---|---|
![]() | Clear | Reinitializes the part to default (empty) values. (Inherited from Dart.Mail.Resource) |
![]() | Clone | Overridden. Creates a deep copy of the Attachment part, but a shallow copy of its Content. |
![]() | ContentToArray | Gets a byte[] that contains decoded byte content. (Inherited from Dart.Mail.Resource) |
![]() | Dispose | Overloaded. Overridden. Releases all resources associated with the object. |
![]() | GetContentEncodingStream | Returns a Stream that encodes when System.IO.Stream.Read(System.Byte[],System.Int32,System.Int32) is used and decodes when System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32) is used. (Inherited from Dart.Mail.Resource) |
![]() | GetContentStream | Overridden. Gets a FileStream or MemoryStream for reading or writing of content data. |
![]() | GetDecodingExceptions | Returns Exceptions created during decoding. (Inherited from Dart.Mail.Part) |
![]() | GetEncodingStream | Returns a Stream that encodes when System.IO.Stream.Read(System.Byte[],System.Int32,System.Int32) is used and decodes when System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32) is used. (Inherited from Dart.Mail.Part) |
![]() | GetMediaTypeFromExtension | Parses the extension from the provided path and uses it to return a string suitable for use as ContentType.MediaType. (Inherited from Dart.Mail.Resource) |
![]() | ToArray | Returns the encoded MIME entity as a byte array. (Inherited from Dart.Mail.Part) |
![]() | ToString | Overloaded. Returns the MIME entity as a String. (Inherited from Dart.Mail.Part) |