FormatProtection 资源类型FormatProtection resource type

命名空间:microsoft.graphNamespace: microsoft.graph


/betaMicrosoft Graph 中的版本下的 api 可能会发生更改。APIs under the /beta version in Microsoft Graph are subject to change. 不支持在生产应用程序中使用这些 API。Use of these APIs in production applications is not supported. 若要确定 API 在 v1.0 中是否可用,请使用 版本 选择器。To determine whether an API is available in v1.0, use the Version selector.

表示对范围对象的格式保护。Represents the format protection of a range object.


方法Method 返回类型Return Type 说明Description
获取 FormatProtectionGet FormatProtection FormatProtectionFormatProtection 读取 formatProtection 对象的属性和关系。Read properties and relationships of formatProtection object.
更新Update FormatProtectionFormatProtection 更新 FormatProtection 对象。Update FormatProtection object.


属性Property 类型Type 说明Description
formulaHiddenformulaHidden booleanboolean 表示 Excel 是否隐藏区域中的单元格公式。指示整个区域不具有统一公式隐藏设置的空值。Indicates if Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting.
已锁定locked booleanboolean 指示 Excel 是否锁定对象中的单元格。指示整个区域不具有统一锁定设置的空值。Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting.



JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。Here is a JSON representation of the resource.

  "formulaHidden": true,
  "locked": true