语法
表达式.IsSandboxed
表达式 一个代表 Application 对象的变量。
返回值Boolean
说明
使用 IsSandboxed 属性可确定工作簿是否已在“受保护的视图”窗口中打开。