Share via


IScriptEntry::GetBody

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 IScriptEntry script block

  • An IScriptEntry function in a function block

  • An IScriptEntry scriptlet 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.

Remarks

See also

IScriptEntry Interface