Class AttachmentPreview
Service attachment data intended for preview purposes
Carrier object for AttachmentPreview. Services for the AttachmentPreview Carrier is available from the Ticket Agent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class AttachmentPreview : Carrier
Constructors
AttachmentPreview()
Default constructor
Declaration
public AttachmentPreview()
See Also
Properties
Content
Attachment data
Declaration
[DataMember]
public virtual byte[] Content { get; set; }
Property Value
Type | Description |
---|---|
byte[] |
See Also
EmailAttachmentsInfo
The attachments inside the attached RFC822 email. Empty array for non-RFC822 attachment
Declaration
[DataMember]
public virtual AttachmentEntity[] EmailAttachmentsInfo { get; set; }
Property Value
Type | Description |
---|---|
AttachmentEntity[] |
See Also
EmailCc
Cc field of the attached RFC822 email. Null for non-RFC822 attachment
Declaration
[DataMember]
public virtual string EmailCc { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
EmailDate
Date of the attached RFC822 email. Default DateTime value for non-RFC822 attachment
Declaration
[DataMember]
public virtual DateTime EmailDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
EmailFrom
From field of the attached RFC822 email. Null for non-RFC822 attachment
Declaration
[DataMember]
public virtual string EmailFrom { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
EmailSubject
Subject of the attached RFC822 email. Null for non-RFC822 attachment
Declaration
[DataMember]
public virtual string EmailSubject { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
EmailTo
To field of the attached RFC822 email. Null for non-RFC822 attachment
Declaration
[DataMember]
public virtual string EmailTo { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
MimeType
The mimetype of the attachment
Declaration
[DataMember]
public virtual string MimeType { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Name
Name of the attachment file
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Size
Size of the attachment in bytes
Declaration
[DataMember]
public virtual int Size { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
string | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
string | The carrier contents. |