SpreadsheetGear Namespace > IWorksheet Interface : Protect Method |
Enables protection for this worksheet with the specified password.
[Visual Basic]
Overridable Sub Protect( _
ByVal password As String _
)
[C#]
virtual void Protect(
string password
);
[C++]
virtual void Protect(
string * password
)
[C++/CLI]
virtual void Protect(
String ^ password
)
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
IWorksheet Interface | IWorksheet Members | Unprotect Method | ProtectContents Property
See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.
Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.
SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.