Context (Subsystem property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
m (guess subtitle, syntax and footer template names, match syntax terms to template, lots of tags and editscopy contetnt from PDF)
Line 1: Line 1:
<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Indicate subsystem context<section end=dpl_desc/></b></span>
{{Template:Subsystem:Context subtitle}}
[[Category:Subsystem methods|Context property]]
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"]].
[[Category:System/Subsystem methods]]
<!--DPL?? Category:Subsystem methods|Context property: Indicate subsystem context-->
<p>
Context is a member of the [[Subsystem class]].
</p>


This shared property sets or gets the current value for the subsystem context.
==Syntax==
Once a subsystem context is set, all Subsystem class methods apply to that
{{Template:Subsystem:Context syntax}}
subsystem context, as discussed in [[System and Subsystem classes#Subsystem context|"Subsystem context"]].
===Syntax Terms===
===Syntax===
<table class="syntaxTable">
  %(Subsystem):Context = newValue
<tr><th>currentString</th><td>A string to receive the name of the current <var>subsystem</var> context.</td></tr>
<tr><th>%(Subsystem)</th><td>The class name in parentheses denotes a 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>


  %currValue = %(Subsystem):Context
==Usage Notes==
====Syntax Terms====
 
<dl>
==Examples==
<dt>%(Subsystem)
 
<dd>The class name in parentheses denotes a shared method.
==See also==
<dt><i><b>newValue</b></i>
{{Template:Subsystem:Context footer}}
<dd>The string value
that identifies the subsystem that is to become the new context.
<dt><i><b>currValue</b></i>
<dd>A string to contain the name of the current subsystem context.
</dl>

Revision as of 11:03, 19 March 2011

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

currentStringA string to receive the name of the current subsystem context.
%(Subsystem)The class name in parentheses denotes a shared method.
newStringThe string value that identifies the subsystem that is to become the new context.

Usage Notes

Examples

See also