Skip to main content Skip to complementary content

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

      public 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>

Implements

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

      public 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>

Implements

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

      public 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

Implements

Remarks

The operation is successful if qReturn is set to true.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!