ClearAllButThisAsync Method
Overloads
| ClearAllButThisAsync(Boolean) |
Maintains the selections in the current field while clearing the selections in the other fields. |
|
| ClearAllButThisAsync(AsyncHandle, Boolean) |
Maintains the selections in the current field while clearing the selections in the other fields. |
|
| ClearAllButThisAsync<T>(AsyncHandle, Func<Response, T>, Boolean) |
Maintains the selections in the current field while clearing the selections in the other fields. |
ClearAllButThisAsync(Boolean)
Maintains the selections in the current field while clearing the selections in the other fields.
Declaration
Task<bool> ClearAllButThisAsync([QixName("qSoftLock")] bool softLock = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | softLock |
Set to true to ignore locks; in that case, locked fields can be selected. The default value is false. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Boolean> |
Remarks
The operation is successful if qReturn is set to true.
ClearAllButThisAsync(AsyncHandle, Boolean)
Maintains the selections in the current field while clearing the selections in the other fields.
Declaration
Task<bool> ClearAllButThisAsync(AsyncHandle asyncHandle, [QixName("qSoftLock")] bool softLock = false)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Boolean | softLock |
Set to true to ignore locks; in that case, locked fields can be selected. The default value is false. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Boolean> |
Remarks
The operation is successful if qReturn is set to true.
ClearAllButThisAsync<T>(AsyncHandle, Func<Response, T>, Boolean)
Maintains the selections in the current field while clearing the selections in the other fields.
Declaration
Task<T> ClearAllButThisAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qSoftLock")] bool softLock = false)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| System.Boolean | softLock |
Set to true to ignore locks; in that case, locked fields can be selected. The default value is false. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
Remarks
The operation is successful if qReturn is set to true.