Click or drag to resize

MimeVCard Class

Represents MIME entity containing text/vcard data. Please use CreateMimeVCard or CreateMimeVCard(VCard) methods to create objects of this type.
Inheritance Hierarchy

Namespace:  Limilabs.Mail.MIME
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
[SerializableAttribute]
public class MimeVCard : MimeText

The MimeVCard type exposes the following members.

Properties
  NameDescription
Public propertyCharsetMatch
Gets the result of matching content-type charset to Encoding.
(Inherited from MimeText.)
Public propertyContentDisposition
'Content-Disposition' of the data. This object provides information on what you should do with the data.
(Inherited from MimeBase.)
Public propertyContentId
Content-ID of this entity. Without enclosing '<' and '>'. You can use ContentIdHelper to extract content id from cid url.
(Inherited from MimeBase.)
Public propertyContentLocation
Content location of this mime entity.
(Inherited from MimeBase.)
Public propertyContentTransferEncoding
Gets or sets 'Content-Transfer-Encoding' of the data. This object provides information on how the data was encoded for transport purposes. Please remember that setting Data may override content transfer encoding.
(Inherited from MimeData.)
Public propertyContentType
Content type of the body.
(Inherited from MimeBase.)
Public propertyContentTypeHeader
Represents 'Content-type' header. You can use this class to add additional options to content-type header. Use ContentType to get or set content-type only.
(Inherited from MimeBase.)
Public propertyData
Gets or sets byte array contained in this MIME object. When set, ContentTransferEncoding is updated using the most appropriate MimeEncoding value.
(Inherited from MimeData.)
Public propertyEncoding
Gets or sets encoding used to encode text contained in this MIME entity. When setting this property, Data property is re-set with value representing Text in new encoding.
(Inherited from MimeText.)
Public propertyFileName
Gets or sets suggested file name (FileName or IContentTypeHeader["name"]). May be null or empty. Consider using SafeFileName as it is guaranteed to contain valid file name.
(Inherited from MimeData.)
Public propertyHasContentType
Gets boolean value indicating, if content-type is explicitly set on this entity.
(Inherited from MimeBase.)
Public propertyHasFileName
Gets a boolean value indicating if FileName is set.
(Inherited from MimeData.)
Public propertyHeaders
MIME headers collection.
(Inherited from MimeBase.)
Public propertySafeFileName
Gets suggested file name. All special characters and path are removed. If the FileName is not specified (HasFileName is false), tries to use FullName to create a file name or generates a random file name in format "vcard.vcf".
(Overrides MimeDataSafeFileName.)
Public propertySize
Gets the size of data contained in this MIME object.
(Inherited from MimeData.)
Public propertyText
Gets or sets text data contained in this Mime object. Encoding is changed to UTF8 when setting.
(Inherited from MimeText.)
Public propertyVCard
Gets or sets the VCard contained in this MIME entity.
Public propertyXApple2Mime
Gets X-Apple2Mime header value. This header is added by Apple to MIME extractor. True means that this entity was extracted from ApplicationAppleFile or MultipartAppleDouble entity.
(Inherited from MimeData.)
Public propertyXBinHex2Mime
Gets X-BinHex2Mime header value. This header is added by BinHex to MIME extractor. True means that this entity was extracted from MimeBinHex.
(Inherited from MimeData.)
Public propertyXRtfRenderingPosition
Gets X-Rtf-RenderingPosition header value. This header is filled by TNEF to MIME with PR_RENDERING_POSITION MAPI value or by MSG to MIME parser. It indicates where in the message text the attachment should be rendered (in characters).
(Inherited from MimeData.)
Public propertyXTnef2Mime
Gets X-Tnef2Mime header value. This header is added by TNEF to MIME parser. True means that this entity was extracted from ApplicationMsTnef.
(Inherited from MimeData.)
Public propertyXTnef2MimeRenderingPosition Obsolete.
Gets X-Tnef2Mime-RenderingPosition header value. This header is filled by TNEF to MIME parser with PR_RENDERING_POSITION MAPI value. It indicates where in the message text the attachment should be rendered (in characters).
(Inherited from MimeData.)
Public propertyXUue2Mime
Gets X-Uue2Mime header value. This header is added by UUE to MIME extractor. True means that this entity was extracted from Text.
(Inherited from MimeData.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEstimateTransportSize
Gets the estimated transport size of this MIME entity. Bases on assumption that Base64, UUE and XUUE encoded files are 37% bigger in transport.
(Inherited from MimeData.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMemoryStream
Creates new MemoryStream for accessing Data property.
(Inherited from MimeData.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadFromFile
Uploads data from specified file into this MimeData entity. This method always resets FileName property.
(Inherited from MimeData.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRender
Renders this MIME object.
(Inherited from MimeBase.)
Public methodSave(Stream)
Writes Data to specified stream. Stream must be open.
(Inherited from MimeData.)
Public methodSave(String)
Creates a new file with the specified name and saves Data into it.
(Inherited from MimeData.)
Public methodSetFileName
Sets the FileName and ContentType value if requested.
(Inherited from MimeData.)
Public methodToString
Returns content-type of this MIME object.
(Inherited from MimeBase.)
Top
See Also