horizontalSection 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示给定 SharePoint 页面中的水平部分。

继承自 entity

Methods

方法 返回类型 说明
列出 horizontalSections horizontalSection 集合 获取 horizontalSection 对象及其属性的列表。
创建 horizontalSection horizontalSection 创建新的 horizontalSection 对象。
获取 horizontalSection horizontalSection 读取 horizontalSection 对象的属性和关系。
更新 horizontalSection horizontalSection 更新 horizontalSection 对象的属性。
删除 horizontalSection horizontalSection 删除 horizontalSection 对象。

属性

属性 类型 说明
重点 sectionEmphasisType 指示部分背景的强调的枚举值。 可能的值包括 noneneturalsoftstrongunknownFutureValue
id String 资源的唯一标识符。 继承自 entity
布局 horizontalSectionLayoutType 分区的布局类型。 可能的值为:none、、oneColumntwoColumnsthreeColumnsoneThirdLeftColumnoneThirdRightColumnfullWidth、 。 unknownFutureValue

sectionEmphasisType 值

成员 说明
该部分没有背景。
中性 该部分在背景中具有中性强调。
该部分在背景中具有软强调。
strong 该部分在背景中具有很强的强调。
unknownFutureValue 用于将来兼容性的标记值。

horizontalSectionLayoutType 值

成员 说明
该部分没有布局。
oneColumn 节只有一列。
twoColumns 节包含两列。
threeColumns 节包含三列。
oneThirdLeftColumn 该部分左侧有 1/3 列,右侧有 2/3 列。
oneThirdRightColumn 节左侧有一个 2/3 列,右侧有 1/3 列。
fullWidth 节有一个全宽列。
unknownFutureValue 用于将来兼容性的标记值。

关系

关系 类型 说明
columns horizontalSectionColumn 集合 本部分中的垂直列集。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "@odata.type": "#microsoft.graph.horizontalSection",
  "id": "String (identifier)",
  "layout": "String",
  "emphasis": "String"
}