The TextAttachment type exposes the following members.

Constructors

  NameDescription
TextAttachment
Creates an attachment.

Methods

  NameDescription
EqualsOverloaded.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::.GetHashCode()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Normalize
Obtains a normalized copy of the object or the original instance if it is already normalized.
(Overrides Attachment..::.Normalize()()().)
ToAttachmentData
Generates serializable attachment data from an attachment.
(Overrides Attachment..::.ToAttachmentData()()().)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Extension Methods

  NameDescription
FormatOverloaded.

Properties

  NameDescription
ContentType
Gets the content type of the attachment specified as a MIME type, not null. for definitions of common supported MIME types.
(Inherited from Attachment.)
Name
Gets the name of the attachment, not null.
(Inherited from Attachment.)
Text
Gets the text of the attachment, not null.

See Also