AllowOverride Method
Configues the GUI for override mode, and allows a question to be provided. Override mode is designed to let the user complete an operation that would normally be blocked by a restriction.
Syntax
public void AllowOverride(
System.string overrideCheckboxLabel,
System.string overrideQuestion,
System.bool checkboxChecked
)Public Sub AllowOverride( _
ByVal overrideCheckboxLabel As System.String, _
Optional ByVal overrideQuestion As System.String, _
Optional ByVal checkboxChecked As System.Boolean _
) Parameters
| Name | Description |
|---|---|
| overrideCheckboxLabel | The label put next to the override checkbox |
| overrideQuestion | Optional question to be displayed below the descritpion set by SetDescription |
| checkboxChecked | Option paramenter that specifies if the override checkbox should start checked or unchecked |
Remarks
An example would be deleting a file that still has links pointing to it. Normally this would results in a restriction blocking the delete, but the user can choose to override it when override mode is enabled.