• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class Attachment

Provides attachment functionality.

Inheritance
object
Attachment
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Mail.Mapi.API
Assembly: DRIT.Mail.dll
Syntax
public class Attachment

Constructors

View Source

Attachment(MapiAttachment)

Initializes a new instance of the Attachment class.

Declaration
public Attachment(MapiAttachment mapiAttachment)
Parameters
Type Name Description
MapiAttachment mapiAttachment

The mapi attachment used by the operation.

Properties

View Source

DataBinary

Gets or sets the contents of the file to be attached..

Declaration
public byte[] DataBinary { get; set; }
Property Value
Type Description
byte[]
Remarks

MS-OXCMSG 2.2.2.7 PidTagAttachDataBinary Property

View Source

Extension

Gets or sets the extension value.

Declaration
public string Extension { get; set; }
Property Value
Type Description
string
View Source

Filename

Gets or sets the filename value.

Declaration
public string Filename { get; set; }
Property Value
Type Description
string
View Source

Flags

Gets or sets the flags value.

Declaration
public AttachFlagValues? Flags { get; set; }
Property Value
Type Description
AttachFlagValues?
View Source

LongFilename

Gets or sets the long filename value.

Declaration
public string LongFilename { get; set; }
Property Value
Type Description
string
View Source

Method

Gets or sets the method value.

Declaration
public AttachMethodValue? Method { get; set; }
Property Value
Type Description
AttachMethodValue?
View Source

Number

Gets or sets a number that identifies the Attachment object within its Message object.

Declaration
public int? Number { get; set; }
Property Value
Type Description
int?
Remarks

MS-OXCMSG 2.2.2.6 PidTagAttachNumber Property

View Source

Size

Gets or sets the size in bytes of the attachment object.

Declaration
public int? Size { get; set; }
Property Value
Type Description
int?
Remarks

MS-OXCMSG 2.2.2.5 PidTagAttachSize Property

Methods

View Source

FromFile(string)

Processes the from file data.

Declaration
public void FromFile(string fileFullName)
Parameters
Type Name Description
string fileFullName

The file full name used by the operation.

View Source

Save(string)

Saves the data to the specified destination.

Declaration
public void Save(string path)
Parameters
Type Name Description
string path

The file or path to process.

View Source

SetMIMETag()

Sets the mimetag.

Declaration
public void SetMIMETag()
View Source

SetStorageTag()

Sets the storage tag.

Declaration
public void SetStorageTag()
View Source

SetTNEFTag()

Sets the tneftag.

Declaration
public void SetTNEFTag()
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX