GrapeCity.Spreadsheet アセンブリ > GrapeCity.Spreadsheet 名前空間 > IWorkbook インタフェース : Protect メソッド |
'Declaration
Function Protect( _ ByVal locks As WorkbookLocks, _ Optional ByVal password As String _ ) As Boolean
'使用法
Dim instance As IWorkbook Dim locks As WorkbookLocks Dim password As String Dim value As Boolean value = instance.Protect(locks, password)
bool Protect( WorkbookLocks locks, string password )