Back to Devexpress

IWorkbook.Unprotect(String) Method

officefileapi-devexpress-dot-spreadsheet-dot-iworkbook-dot-unprotect-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

IWorkbook.Unprotect(String) Method

Removes protection from a workbook.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool Unprotect(
    string password
)
vb
Function Unprotect(
    password As String
) As Boolean

Parameters

NameTypeDescription
passwordString

A string that specifies the password with which the workbook is protected.

|

Returns

TypeDescription
Boolean

true , if protection is successfully removed; otherwise, false.

|

See Also

IWorkbook Interface

IWorkbook Members

DevExpress.Spreadsheet Namespace