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
)
參數
- Password
型別:System.Object
- DrawingObjects
型別:System.Object
- Contents
型別:System.Object
- Scenarios
型別:System.Object
- UserInterfaceOnly
型別:System.Object
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。