Returns the text that corresponds to the body of an IScriptEntry script block, function block, or scriptlet.
Syntax
HRESULT GetBody(
BSTR *pbstr
);
Parameters
pbstr
[out] The text that is in the body of one of the following:
An
IScriptEntryscript blockAn
IScriptEntryfunction in a function blockAn
IScriptEntryscriptlet event handler
Return Value
An HRESULT. Possible values include, but are not limited to, those in the following table.
| Value | Description |
|---|---|
S_OK |
The method succeeded. |