GetFieldAsync Method
Overloads
| GetFieldAsync(String, String) |
Returns a handle to a field. |
|
| GetFieldAsync(AsyncHandle, String, String) |
Returns a handle to a field. |
|
| GetFieldAsync<T>(AsyncHandle, Func<Response, T>, String, String) |
Returns a handle to a field. |
GetFieldAsync(String, String)
Returns a handle to a field.
Declaration
public Task<Field> GetFieldAsync([QixName("qFieldName")] string fieldName, [QixName("qStateName")] string stateName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | fieldName |
Name of the field. |
| System.String | stateName |
Name of the alternate state. Default state is current selections. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Field> |
Implements
GetFieldAsync(AsyncHandle, String, String)
Returns a handle to a field.
Declaration
public Task<Field> GetFieldAsync(AsyncHandle asyncHandle, [QixName("qFieldName")] string fieldName, [QixName("qStateName")] string stateName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.String | fieldName |
Name of the field. |
| System.String | stateName |
Name of the alternate state. Default state is current selections. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Field> |
Implements
GetFieldAsync<T>(AsyncHandle, Func<Response, T>, String, String)
Returns a handle to a field.
Declaration
public Task<T> GetFieldAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qFieldName")] string fieldName, [QixName("qStateName")] string stateName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| System.String | fieldName |
Name of the field. |
| System.String | stateName |
Name of the alternate state. Default state is current selections. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |