Context (Subsystem property): Difference between revisions
Jump to navigation
Jump to search
(Created page with "<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Indicate subsystem context<section end=dpl_desc/></b></span> Context property...") |
(Automatically generated page update) |
||
(17 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Subsystem:Context subtitle}} | |||
The <var>Context</var> shared property sets or gets the current value for the <var>subsystem</var> context. Once a <var>subsystem</var> context is set, all subsequent <var>Subsystem</var> class methods apply to that <var>subsystem</var> context, as discussed in [[System and Subsystem classes#Subsystem context|"Subsystem context"]]. | |||
< | |||
< | |||
==Syntax== | |||
{{Template:Subsystem:Context syntax}} | |||
===Syntax terms=== | |||
<table class="syntaxTable"> | |||
<tr><th>currentString</th><td>A string to receive the name of the current <var>subsystem</var> context.</td></tr> | |||
<tr><th><var class="nobr">%(Subsystem)</var></th><td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared]] method.</td></tr> | |||
<tr><th>newString</th><td>The string value that identifies the <var>subsystem</var> that is to become the new context.</td></tr> | |||
</table> | |||
==See also== | |||
{{Template:Subsystem:Context footer}} | |||
Latest revision as of 00:31, 16 February 2014
Indicate the subsystem context (Subsystem class)
The Context shared property sets or gets the current value for the subsystem context. Once a subsystem context is set, all subsequent Subsystem class methods apply to that subsystem context, as discussed in "Subsystem context".
Syntax
%currentString = %(Subsystem):Context %(Subsystem):Context = newString
Syntax terms
currentString | A string to receive the name of the current subsystem context. |
---|---|
%(Subsystem) | The class name in parentheses denotes a shared method. |
newString | The string value that identifies the subsystem that is to become the new context. |