Worksheet._Protect 方法

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

命名空间:  Microsoft.Office.Tools.Excel
程序集:  Microsoft.Office.Tools.Excel(在 Microsoft.Office.Tools.Excel.dll 中)

语法

声明
Sub _Protect ( _
    Password As Object, _
    DrawingObjects As Object, _
    Contents As Object, _
    Scenarios As Object, _
    UserInterfaceOnly As Object _
)
void _Protect(
    Object Password,
    Object DrawingObjects,
    Object Contents,
    Object Scenarios,
    Object UserInterfaceOnly
)

参数

.NET Framework 安全性

请参见

参考

Worksheet 接口

Microsoft.Office.Tools.Excel 命名空间