Click or drag to resize

BasicNoUIObjQuery Method

Query.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public Result? Query(
	string command,
	params Object?[]? args
)

Parameters

command  String
Command string. For simplicity the command string can include arguments. Each argument is separated by one or more spaces. Arguments which contain spaces must be enclosed in ' or ". Arguments which contain the same character as the enclosing quote, must double the quote.
args  Object
(optional) Arguments specified follow any arguments passed in the command string. (Not supported.)

Return Value

Result
Query returns a Result object. The Result data is accessed via the property.

Implements

IBasicNoUIQuery(String, Object)
Remarks

2025-01-24: This method does not do anything at this time.

All commands are fully documented at https://www.winwrap.com/web2/basic/#!/ref/NETQ-0Help.htm. Query was added to v2.9.1.24. Functionality provided by Query depends on the version.

Typing

C#
$command args...
into the immediate window calls Query and displays the Result.Item("Text") value.

The ? command lists all of the available commands. The ?text command lists a brief description of the "text" command.

Example
Print the list of available commands:
using (Result result = basicIdeCtl1.Query("?"))
{
    Debug.WriteLine(result["Commands"]);
}
See Also