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