Attachment 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
活動內的附件。
public class Attachment
type Attachment = class
Public Class Attachment
- 繼承
-
Attachment
- 衍生
建構函式
| 名稱 | Description |
|---|---|
| Attachment() |
初始化 Attachment 類別的新執行個體。 |
| Attachment(String, String, Object, String, String) |
初始化 Attachment 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Content |
取得或設定嵌入內容。 |
| ContentType |
取得或設定檔案的 mimetype/ContentType。 |
| ContentUrl |
取得或設定內容網址。 |
| Name |
取得或設定(可選)附件名稱。 |
| Properties |
取得或設定那些類型未定義 Attachment 但可能出現在 REST JSON 物件中的屬性。 |
| ThumbnailUrl |
獲得或設定(可選)與附件相關的縮圖。 |
擴充方法
| 名稱 | Description |
|---|---|
| ToMessagingExtensionAttachment(Attachment, Attachment) |
將一般附件轉換成傳訊延伸模組附件。 |