Skip to main content Skip to complementary content

RemoveVariableAsync Method

Overloads

RemoveVariableAsync(String)

Removes a variable.

Declaration

      [Obsolete("Use _Doc::DestroyVariableById_ method or _Doc::DestroyVariableByName_ method instead")]
public Task<bool> RemoveVariableAsync([QixName("qName")] string name)
    

Parameters

Type Name Description
System.String name

Name of the variable. Variable names are case sensitive.

Returns

Type Description
System.Threading.Tasks.Task<System.Boolean>

Implements

Remarks

The operation is successful if qReturn is set to true.

RemoveVariableAsync(AsyncHandle, String)

Removes a variable.

Declaration

      [Obsolete("Use _Doc::DestroyVariableById_ method or _Doc::DestroyVariableByName_ method instead")]
public Task<bool> RemoveVariableAsync(AsyncHandle asyncHandle, [QixName("qName")] string name)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.String name

Name of the variable. Variable names are case sensitive.

Returns

Type Description
System.Threading.Tasks.Task<System.Boolean>

Implements

Remarks

The operation is successful if qReturn is set to true.

RemoveVariableAsync<T>(AsyncHandle, Func<Response, T>, String)

Removes a variable.

Declaration

      [Obsolete("Use _Doc::DestroyVariableById_ method or _Doc::DestroyVariableByName_ method instead")]
public Task<T> RemoveVariableAsync<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. Variable names are case sensitive.

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.

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!