API usage电子表格 APIEnumerationProtectedRangeUserType本页总览ProtectedRangeUserTypeAsk a question 指定受保护区域的用户类型。 类型 枚举 值 "CanEdit" "CanView" "NotView" 示例 此示例将任何人类型设置到受保护区域。 CodeResultPlayground// How to change the anyone type of protected range to "NotView".// Set anyone type of a protected range.protectedRange.SetAnyoneType("NotView");