SetContentAsync Method
Overloads
SetContentAsync(String, Boolean) |
Sets a value to a variable. |
|
SetContentAsync(AsyncHandle, String, Boolean) |
Sets a value to a variable. |
|
SetContentAsync<T>(AsyncHandle, Func<Response, T>, String, Boolean) |
Sets a value to a variable. |
SetContentAsync(String, Boolean)
Sets a value to a variable.
Declaration
[Obsolete("Use _GenericVariable::SetProperties_ method instead")]
Task<bool> SetContentAsync([QixName("qContent")] string content, [QixName("qUpdateMRU")] bool updateMRU)
Parameters
Type | Name | Description |
---|---|---|
System.String | content |
Value of the variable. |
System.Boolean | updateMRU |
If set to true, the value is added to the Most Recently Used (MRU) list. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
Remarks
The operation is successful if qReturn is set to true.
SetContentAsync(AsyncHandle, String, Boolean)
Sets a value to a variable.
Declaration
[Obsolete("Use _GenericVariable::SetProperties_ method instead")]
Task<bool> SetContentAsync(AsyncHandle asyncHandle, [QixName("qContent")] string content, [QixName("qUpdateMRU")] bool updateMRU)
Parameters
Type | Name | Description |
---|---|---|
AsyncHandle | asyncHandle |
Handle to asynchronous method request |
System.String | content |
Value of the variable. |
System.Boolean | updateMRU |
If set to true, the value is added to the Most Recently Used (MRU) list. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
Remarks
The operation is successful if qReturn is set to true.
SetContentAsync<T>(AsyncHandle, Func<Response, T>, String, Boolean)
Sets a value to a variable.
Declaration
[Obsolete("Use _GenericVariable::SetProperties_ method instead")]
Task<T> SetContentAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qContent")] string content, [QixName("qUpdateMRU")] bool updateMRU)
Parameters
Type | Name | Description |
---|---|---|
AsyncHandle | asyncHandle |
Handle to asynchronous method request |
System.Func<Response, T> | onResult |
Continuation function |
System.String | content |
Value of the variable. |
System.Boolean | updateMRU |
If set to true, the value is added to the Most Recently Used (MRU) list. |
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!