PowerTCP Mail for .NET
Textpart Class Members
Properties  Methods 


The following tables list the members exposed by Textpart.

Public Constructors
 NameDescription
Public ConstructorTextpart Constructor Constructor used to create a Textpart.  
Top
Public Properties
 NameDescription
Public PropertyContent Sets or gets text content. Returns null if not initialized.  
Public PropertyContentDisposition Gets or sets the ContentDisposition values associated with this part. (Inherited from Dart.Mail.Resource)
Public PropertyContentId Links this resource to a root html part within a "multipart/related" part. (Inherited from Dart.Mail.Resource)
Public PropertyContentType Gets or sets the "Content-Type" header field for the part. (Inherited from Dart.Mail.Part)
Public PropertyEncoding The encoding to be used for text.  
Public PropertyHeadersProvides a Headers instance that lists all unique header fields. (Inherited from Dart.Mail.Part)
Public PropertyLengthOverridden.  Returns the approximate Length of the encoded part.  
Public PropertyTag Gets or sets an object that stores any user data. (Inherited from Dart.Mail.Part)
Public PropertyTransferEncoding Gets or sets the TransferEncoding value ("content-transfer-encoding") associated with this part. (Inherited from Dart.Mail.Resource)
Top
Public Methods
 NameDescription
Public MethodClear Reinitializes the part to default (empty) values. (Inherited from Dart.Mail.Resource)
Public MethodCloneOverridden.  Creates a deep copy of the Textpart.  
Public MethodContentToArray Gets a byte[] that contains decoded byte content. (Inherited from Dart.Mail.Resource)
Public MethodDisposeOverloaded.  Releases all resources associated with the object. (Inherited from Dart.Mail.Part)
Public MethodGetContentEncodingStreamReturns 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)
Public MethodGetContentStreamOverridden. Gets a MemoryStream that has been filled with encoded Content.  
Public MethodGetDecodingExceptions Returns Exceptions created during decoding. (Inherited from Dart.Mail.Part)
Public MethodGetEncodingStreamReturns 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)
Public MethodGetMediaTypeFromExtensionParses the extension from the provided path and uses it to return a string suitable for use as ContentType.MediaType. (Inherited from Dart.Mail.Resource)
Public MethodToArray Returns the encoded MIME entity as a byte array. (Inherited from Dart.Mail.Part)
Public MethodToStringOverloaded.  Returns the MIME entity as a String. (Inherited from Dart.Mail.Part)
Top
See Also

Reference

Textpart Class
Dart.Mail Namespace


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic