Creates attachment from the specified file, stream or bytes and returns file specification for the attachment.

Overload List

  NameDescription
Public methodCreateFileAttachment(String)
Creates attachment from the specified file and returns file specification for the attachment.
Public methodCreateFileAttachment(Byte[], String)
Creates attachment from provided bytes and returns file specification for the attachment.
Public methodCreateFileAttachment(Stream, String)
Creates attachment from contents of provided stream and returns file specification for the attachment.
Public methodCreateFileAttachment(String, String)
Creates attachment from the specified file and returns file specification for the attachment.
Public methodCreateFileAttachment(Byte[], String, String)
Creates attachment from provided bytes and returns file specification for the attachment.
Public methodCreateFileAttachment(Stream, String, String)
Creates attachment from contents of provided stream and returns file specification for the attachment.

See Also