命名空间:microsoft.graph
派生自 附件。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| Get | itemAttachment | 读取 itemAttachment 对象的属性、关系或原始内容。 |
| 删除 | 无 | 删除 itemAttachment 对象。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| contentType | String | 附件的内容类型。 如果未显式设置,则默认返回 。null 可选。 |
| id | String | 附件 ID。 |
| isInline | Boolean | 如果附件是内联的(例如嵌入到项目正文中的图像),请设置为 true。 |
| lastModifiedDateTime | DateTimeOffset | 上次修改附件的时间和日期。 |
| name | String | 附件的显示名称。 |
| 大小 | Int32 | 附件大小,以字节为单位。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| 项 | OutlookItem | 附加的消息或事件。 导航属性。 |
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"contentType": "string",
"id": "string (identifier)",
"isInline": true,
"lastModifiedDateTime": "String (timestamp)",
"name": "string",
"size": 1024,
"item": { "@odata.type": "microsoft.graph.outlookItem" }
}