Workbook._Protect Method
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Sub _Protect ( _
Password As Object, _
Structure As Object, _
Windows As Object _
)
void _Protect(
Object Password,
Object Structure,
Object Windows
)
Parameters
- Password
Type: System.Object
- Structure
Type: System.Object
- Windows
Type: System.Object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.