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
public 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> |
Implements
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
public 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> |
Implements
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
public 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 |
Implements
Remarks
The operation is successful if qReturn is set to true.