PowerTCP Mail for .NET
Part Class Members
Properties  Methods 


The following tables list the members exposed by Part.

Public Properties
 NameDescription
Public PropertyContentType Gets or sets the "Content-Type" header field for the part.  
Public Propertystatic (Shared in Visual Basic)EncodingMapGets a Dictionary that is used to map an invalid ContentType.CharSet to a valid replacement System.Text.Encoding.  
Public PropertyHeadersProvides a Headers instance that lists all unique header fields.  
Public PropertyLength Returns the approximate Length of the encoded part in all derived classes.  
Public PropertyTag Gets or sets an object that stores any user data.  
Top
Public Methods
 NameDescription
Public MethodClear Reinitializes the part to default (empty) values.  
Public MethodClone Creates a deep copy of the Part, but a shallow copy of its content.  
Public MethodDisposeOverloaded.  Releases all resources associated with the object.  
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.  
Public MethodGetDecodingExceptions Returns Exceptions created during decoding.  
Public Methodstatic (Shared in Visual Basic)GetEncodingGets the named encoding using System.Text.Encoding.GetEncoding(System.String) and EncodingMap, which allows invalid character sets to be mapped to valid ones.  
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.  
Public MethodToArray Returns the encoded MIME entity as a byte array.  
Public MethodToStringOverloaded.  Returns the MIME entity as a String.  
Top
See Also

Reference

Part Class
Dart.Mail Namespace


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