Skip to main content Skip to complementary content

SelectAlternativeAsync Method

Overloads

SelectAlternativeAsync(Boolean)

Selects all alternatives values in a specific field.

SelectAlternativeAsync(AsyncHandle, Boolean)

Selects all alternatives values in a specific field.

SelectAlternativeAsync<T>(AsyncHandle, Func<Response, T>, Boolean)

Selects all alternatives values in a specific field.

SelectAlternativeAsync(Boolean)

Selects all alternatives values in a specific field.

Declaration

      Task<bool> SelectAlternativeAsync([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

In a field that contains at least one selected value, the values that are neither selected nor excluded are alternatives values.

SelectAlternativeAsync(AsyncHandle, Boolean)

Selects all alternatives values in a specific field.

Declaration

      Task<bool> SelectAlternativeAsync(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

In a field that contains at least one selected value, the values that are neither selected nor excluded are alternatives values.

SelectAlternativeAsync<T>(AsyncHandle, Func<Response, T>, Boolean)

Selects all alternatives values in a specific field.

Declaration

      Task<T> SelectAlternativeAsync<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

In a field that contains at least one selected value, the values that are neither selected nor excluded are alternatives values.

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!