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