Query.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic Result Query(
string command,
params Object?[]? args
)
Public Function Query (
command As String,
ParamArray args As Object()
) As Result
public:
virtual Result^ Query(
String^ command,
... array<Object^>^ args
) sealed
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
ResultQuery 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"]);
}Using Result As Result = BasicIdeCtl1.Query("?")
Debug.WriteLine(Result("Commands"))
End UsingNo code example is currently available or this language may not be supported.
See Also