Skip to main content Skip to complementary content

SelectValuesAsync Method

Overloads

SelectValuesAsync(IEnumerable<FieldValue>, Boolean, Boolean)

Selects some values in a field, by entering the values to select.

SelectValuesAsync(AsyncHandle, IEnumerable<FieldValue>, Boolean, Boolean)

Selects some values in a field, by entering the values to select.

SelectValuesAsync<T>(AsyncHandle, Func<Response, T>, IEnumerable<FieldValue>, Boolean, Boolean)

Selects some values in a field, by entering the values to select.

SelectValuesAsync(IEnumerable<FieldValue>, Boolean, Boolean)

Selects some values in a field, by entering the values to select.

Declaration

      Task<bool> SelectValuesAsync([QixName("qFieldValues")] IEnumerable<FieldValue> fieldValues, [QixName("qToggleMode")] bool toggleMode = false, [QixName("qSoftLock")] bool softLock = false)
    

Parameters

Type Name Description
System.Collections.Generic.IEnumerable<FieldValue> fieldValues

List of the values to select.

System.Boolean toggleMode

The default value is false.

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.

SelectValuesAsync(AsyncHandle, IEnumerable<FieldValue>, Boolean, Boolean)

Selects some values in a field, by entering the values to select.

Declaration

      Task<bool> SelectValuesAsync(AsyncHandle asyncHandle, [QixName("qFieldValues")] IEnumerable<FieldValue> fieldValues, [QixName("qToggleMode")] bool toggleMode = false, [QixName("qSoftLock")] bool softLock = false)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Collections.Generic.IEnumerable<FieldValue> fieldValues

List of the values to select.

System.Boolean toggleMode

The default value is false.

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.

SelectValuesAsync<T>(AsyncHandle, Func<Response, T>, IEnumerable<FieldValue>, Boolean, Boolean)

Selects some values in a field, by entering the values to select.

Declaration

      Task<T> SelectValuesAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qFieldValues")] IEnumerable<FieldValue> fieldValues, [QixName("qToggleMode")] bool toggleMode = false, [QixName("qSoftLock")] bool softLock = false)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

System.Collections.Generic.IEnumerable<FieldValue> fieldValues

List of the values to select.

System.Boolean toggleMode

The default value is false.

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.

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!