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
Functionality provided by Query depends on the version.
Example
Print the list of available commands:
using (Result result = basicIdeCtl1.Query("?"))
{
    Debug.WriteLine(result["Commands"]);
}
See Also