The LinkedResource type exposes the following members.

Constructors

  NameDescription
Public methodLinkedResource()()()()
Initializes a new empty instance of a LinkedResource.
Public methodLinkedResource(Stream, String)
Initializes a new instance of a LinkedResource with the content of the supplied stream and with a media type.
Public methodLinkedResource(String, String)
Initializes a new instance of a LinkedResource with the content of the specified file and with media type.
Public methodLinkedResource(Stream, String, String)
Initializes a new instance of a LinkedResource with the content of the supplied stream and with a media type and suggested name.

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetContentLength
Gets the length of the attachment.
(Inherited from AttachmentBase.)
Public methodGetContentStream()()()()
Returns the read-only stream representing a content of this attachment.
(Inherited from AttachmentBase.)
Public methodGetContentStream(Boolean)
Returns the stream representing a content of this attachment.
(Inherited from AttachmentBase.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSave(Stream)
Writes the content of the attachment into the supplied stream.
(Inherited from AttachmentBase.)
Public methodSave(String)
Writes the content of the attachment or view into a supplied file.
(Inherited from AttachmentBase.)
Public methodSetContent(String)
Sets the content of this attachment to the specified text.
(Inherited from AttachmentBase.)
Public methodSetContent(String, String)
Sets the content of this attachment to the specified text and media type.
(Inherited from AttachmentBase.)
Public methodSetContent(Stream, String)
Sets the content of this resource to data read from the specified stream and sets media type.
Public methodSetContent(String, String, Encoding)
Sets the content of this attachment to the specified text, media type and character set.
(Inherited from AttachmentBase.)
Public methodSetContent(String, String, Encoding, TransferEncoding)
Sets the content of this attachment to the specified text, media type and character set.
(Inherited from AttachmentBase.)
Public methodSetContentFromFile
Sets the content of this resource to data read from the specified file and sets media type.
Public methodToMimeEntity
Converts this instance to a MimeEntity.
(Inherited from AttachmentBase.)
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyContentDescription
Gets or sets the content description of this attachment.
(Inherited from AttachmentBase.)
Public propertyContentDisposition
Gets the content disposition of this attachment.
(Inherited from AttachmentBase.)
Public propertyContentId
Gets or sets the content ID of this attachment.
(Inherited from AttachmentBase.)
Public propertyContentLocation
Gets or sets the absolute or relative URI of this message part.
(Inherited from AttachmentBase.)
Public propertyContentString
Gets the content string of this attachment.
(Inherited from AttachmentBase.)
Public propertyContentType
Gets the content type of this attachment.
(Inherited from AttachmentBase.)
Public propertyFileName
Gets the suggested file name of this attachment.
Public propertyCharset
Gets the charset (Encoding) of the content of this attachment.
(Inherited from AttachmentBase.)
Public propertyMediaType
Gets the media type of this attachment.
(Inherited from AttachmentBase.)
Public propertyOptions
Gets or sets verious options for MIME parser and writer.
(Inherited from AttachmentBase.)
Public propertyTransferEncoding
Gets or sets the TransferEncoding of the content of this attachment.
(Inherited from AttachmentBase.)

See Also