Skip to main content Skip to complementary content

ClearAsync Method

Overloads

ClearAsync()

Clears the selections in a specific field.

ClearAsync(AsyncHandle)

Clears the selections in a specific field.

ClearAsync<T>(AsyncHandle, Func<Response, T>)

Clears the selections in a specific field.

ClearAsync()

Clears the selections in a specific field.

Declaration

      [QixName("Clear")]
public Task<bool> ClearAsync()
    

Returns

Type Description
System.Threading.Tasks.Task<System.Boolean>

Implements

Remarks

The operation is successful if qReturn is set to true.

ClearAsync(AsyncHandle)

Clears the selections in a specific field.

Declaration

      [QixName("Clear")]
public Task<bool> ClearAsync(AsyncHandle asyncHandle)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

Returns

Type Description
System.Threading.Tasks.Task<System.Boolean>

Implements

Remarks

The operation is successful if qReturn is set to true.

ClearAsync<T>(AsyncHandle, Func<Response, T>)

Clears the selections in a specific field.

Declaration

      [QixName("Clear")]
public Task<T> ClearAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

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!