GetVariableByNameAsync Method
Overloads
| GetVariableByNameAsync(String) | Gets the handle of a variable. | |
| GetVariableByNameAsync(AsyncHandle, String) | Gets the handle of a variable. | |
| GetVariableByNameAsync<T>(AsyncHandle, Func<Response, T>, String) | Gets the handle of a variable. | 
GetVariableByNameAsync(String)
Gets the handle of a variable.
Declaration
      Task<GenericVariable> GetVariableByNameAsync([QixName("qName")] string name)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | Name of the variable. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<GenericVariable> | 
GetVariableByNameAsync(AsyncHandle, String)
Gets the handle of a variable.
Declaration
      Task<GenericVariable> GetVariableByNameAsync(AsyncHandle asyncHandle, [QixName("qName")] string name)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| AsyncHandle | asyncHandle | Handle to asynchronous method request | 
| System.String | name | Name of the variable. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<GenericVariable> | 
GetVariableByNameAsync<T>(AsyncHandle, Func<Response, T>, String)
Gets the handle of a variable.
Declaration
      Task<T> GetVariableByNameAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qName")] string name)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| AsyncHandle | asyncHandle | Handle to asynchronous method request | 
| System.Func<Response, T> | onResult | Continuation function | 
| System.String | name | Name of the variable. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<T> | 
Type Parameters
| Name | Description | 
|---|---|
| T |