Attachment Class

Definition

An attachment within an activity.

public class Attachment
type Attachment = class
Public Class Attachment
Inheritance
Attachment
Derived

Constructors

Attachment()

Initializes a new instance of the Attachment class.

Attachment(String, String, Object, String, String)

Initializes a new instance of the Attachment class.

Properties

Content

Gets or sets embedded content.

ContentType

Gets or sets mimetype/Contenttype for the file.

ContentUrl

Gets or sets content Url.

Name

Gets or sets (OPTIONAL) The name of the attachment.

Properties

Gets or sets properties that are not otherwise defined by the Attachment type but that might appear in the REST JSON object.

ThumbnailUrl

Gets or sets (OPTIONAL) Thumbnail associated with attachment.

Extension Methods

ToMessagingExtensionAttachment(Attachment, Attachment)

Converts normal attachment into the messaging extension attachment.

Applies to