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(
	string password,
	SheetProtectionType options
)
Public Sub Protect ( 
	password As String,
	options As SheetProtectionType
)
public:
virtual void Protect(
	String^ password, 
	SheetProtectionType options
) sealed
abstract Protect : 
        password : string * 
        options : SheetProtectionType -> unit 
override Protect : 
        password : string * 
        options : SheetProtectionType -> unit 

Parameters

password
String
options
SheetProtectionType

Implements

ITabSheet..::..Protect(String, SheetProtectionType)

See Also