IModule.Protect Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub Protect ( _
Password As Object, _
DrawingObjects As Object, _
Contents As Object, _
Scenarios As Object, _
UserInterfaceOnly As Object _
)
'Usage
Dim instance As IModule
Dim Password As Object
Dim DrawingObjects As Object
Dim Contents As Object
Dim Scenarios As Object
Dim UserInterfaceOnly As Object
instance.Protect(Password, DrawingObjects, _
Contents, Scenarios, UserInterfaceOnly)
void Protect(
Object Password,
Object DrawingObjects,
Object Contents,
Object Scenarios,
Object UserInterfaceOnly
)
Parameters
- Password
Type: System.Object
- DrawingObjects
Type: System.Object
- Contents
Type: System.Object
- Scenarios
Type: System.Object
- UserInterfaceOnly
Type: System.Object