OLAttachment Type

Holds information about an attachment.

Remarks

Holds information about an attachment.

Fields

AttachmentType
String

This field contains the attachment type of the attachment.

ContentId
String

This field contains the value of the unique content identifier of the attachment.

ContentLocation
String

This field contains the content location of the attachment. It is generally null, as it is no longer supported in the Microsoft Graph API.

ContentType
String

This field contains the content type of the attachment.

Data
String

This field contains the raw data of the attachment.

DataB
Byte[]

This field contains the raw data of the attachment.

File
String

This field contains the local file name associated with the attachment.

Id
String

This field contains the attachment identifier of the attachment.

InputStream
System.IO.Stream

If InputStream is set, the data from the specified stream will be used for the attachment.

IsInline
Boolean

This field is true if the attachment is an inline attachment.

LastModifiedDate
String

This field contains the date and time when the attachment was last modified.

Name
String

This field contains the name of the attachment.

Size
Integer

This field contains the size in bytes of the attachment.

Constructors

public OLAttachment();
Public OLAttachment()
public OLAttachment(string file);
Public OLAttachment(ByVal File As String)
public OLAttachment(string name, string file);
Public OLAttachment(ByVal Name As String, ByVal File As String)
public OLAttachment(string name, System.IO.Stream inputStream);
Public OLAttachment(ByVal Name As String, ByVal InputStream As System.IO.Stream)

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 .NET Edition - Version 20.0 [Build 8308]