Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 11.6.0.0 (11.6.0.5020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void Protect(
	bool bIsProtectWindow,
	bool bIsProtectContent,
	string password
)
Public Sub Protect ( 
	bIsProtectWindow As Boolean,
	bIsProtectContent As Boolean,
	password As String
)
public:
void Protect(
	bool bIsProtectWindow, 
	bool bIsProtectContent, 
	String^ password
)
member Protect : 
        bIsProtectWindow : bool * 
        bIsProtectContent : bool * 
        password : string -> unit 

Parameters

bIsProtectWindow
Boolean
bIsProtectContent
Boolean
password
String

See Also