DeleteObject (Subsystem subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
mNo edit summary
Line 1: Line 1:
{{Template:Subsystem:DeleteObject subtitle}}
{{Template:Subsystem:DeleteObject subtitle}}
<var>DeleteObject</var> is a shared method that deletes a specified <var>[[System_class#System-wide_objects|system-wide]]</var> object.


==Syntax==
==Syntax==
Line 5: Line 6:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>(Subsystem)</th>
<tr><th>%(Subsystem)</th>
<td>The class name in parentheses denotes a shared method. DeleteObject can also be invoked via a Subsystem object variable, which may be null.</td></tr>
<td>The class name in parentheses denotes a shared method. <var>DeleteObject</var> can also be invoked via a <var>[[Subsystem_class|SubSystem]]</var> object variable, which may be null.</td></tr>
<tr><th>string</th>
<tr><th>string</th>
<td><var>String</var> object</td></tr>
<td>The string ID of the system-wide object to be deleted.</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
<ul><li>All errors result in request cancellation.
<li>The <var>Subsystem</var> class <var>DeleteObject</var> deletes the global referenced by name for the current subsystem context. You can identify the current context by calling the <var>[[Context_(Subsystem_property)|Context]]</var> property.
</ul>
==Examples==
==Examples==
==See also==
==See also==
{{Template:Subsystem:DeleteObject footer}}
{{Template:Subsystem:DeleteObject footer}}

Revision as of 22:22, 19 March 2011

Delete a subsystem object (Subsystem class)

DeleteObject is a shared method that deletes a specified system-wide object.

Syntax

%(Subsystem):DeleteObject( string)

Syntax terms

%(Subsystem) The class name in parentheses denotes a shared method. DeleteObject can also be invoked via a SubSystem object variable, which may be null.
string The string ID of the system-wide object to be deleted.

Usage notes

  • All errors result in request cancellation.
  • The Subsystem class DeleteObject deletes the global referenced by name for the current subsystem context. You can identify the current context by calling the Context property.

Examples

See also