[]
Changes the protect structure setting with the password parameter.
public bool SetProtect(bool protect, string password)
Public Function SetProtect(protect As Boolean, password As String) As Boolean
Type | Name | Description |
---|---|---|
bool | protect | The boolean value that specifies whether to protect or unprotect spread. |
string | password | The password to protect or unprotect spread. |
Type | Description |
---|---|
bool | True, if successful; otherwise, false. |