Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the text that is in the body of an IScriptEntry script block or an IScriptScriptlet scriptlet.
Syntax
HRESULT SetBody(
LPCOLESTR psz
);
Parameters
psz
[in] For an IScriptEntry script block, psz is the text enclosed in the script tags.
For an IScriptEntry function block, psz is the function body.
For an IScriptScriptlet object (which derives from IScriptEntry), psz is the script text of the scriptlet.
Return Value
An HRESULT. Possible values include, but are not limited to, those in the following table.
| Value | Description |
|---|---|
S_OK |
The method succeeded. |