delcontext
- Last UpdatedJan 18, 2024
- 2 minute read
The delcontext statement removes a context from currently active context list.
Note: You cannot remove global context.
Platform support
This element is supported on XR-Windows platform only.
|
XR-WIN |
XR-P-WIN |
XR-P-IOS |
XR-P-AND |
XR-P-WASM |
|---|---|---|---|---|
|
Full support |
No support |
No support |
No support |
No support |
|
|
|
|
|
|
Code example
This is a code example for the delcontext statement.
<command name="showmenu">
<delcontext context="aContext" />
<!-- ... -->
</command>
Fields
These are the fields for delcontext statement.
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
condition |
sstring |
Optional |
No default value |
Applies a condition to the function execution. |
|
context |
sstring |
Mandatory |
No default value |
The name of the destination context. |