Attachment クラス

定義

アクティビティ内の添付ファイル。

public class Attachment
type Attachment = class
Public Class Attachment
継承
Attachment
派生

コンストラクター

名前 説明
Attachment()

Attachment クラスの新しいインスタンスを初期化します。

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

Attachment クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Content

埋め込みコンテンツを取得したり設定したりします。

ContentType

ファイルのmimetype/ContentTypeを取得したり設定したりします。

ContentUrl

コンテンツURLを取得したり設定したりします。

Name

取得または設定(任意) アタッチメントの名前。

Properties

Attachment型で他に定義されていないが、REST JSONオブジェクトに現れる可能性のあるプロパティを取得したり設定したりします。

ThumbnailUrl

アタッチメントに関連するサムネイル(任意)を取得するか設定します。

拡張メソッド

名前 説明
ToMessagingExtensionAttachment(Attachment, Attachment)

通常の添付ファイルをメッセージング拡張機能の添付ファイルに変換します。

適用対象