Spread Silverlight Documentation
SetProtect Method


The zero based sheet index used to locate the IExcelWorksheet instance, if the passed value is -1, it will set the workbook protection state
A flag used to indicate the protection state
Set the protection state for a sheet or workbook
Syntax
'Declaration
 
Sub SetProtect( _
   ByVal sheet As System.Short, _
   ByVal isProtect As System.Boolean _
) 
'Usage
 
Dim instance As IExcelReader
Dim sheet As System.Short
Dim isProtect As System.Boolean
 
instance.SetProtect(sheet, isProtect)
void SetProtect( 
   System.short sheet,
   System.bool isProtect
)

Parameters

sheet
The zero based sheet index used to locate the IExcelWorksheet instance, if the passed value is -1, it will set the workbook protection state
isProtect
A flag used to indicate the protection state
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

IExcelReader Interface
IExcelReader Members

 

 


Copyright © GrapeCity, inc. All rights reserved.