Share via


IScriptEntry::GetText

Returns the text that corresponds to the IScriptEntry script block, or the source code that is contained in the IScriptScriptlet event handler.

Syntax

HRESULT GetText(  
   BSTR               *pbstr  
);  

Parameters

pbstr
[out] The text in the IScriptEntry script block, or the source code that is contained in the IScriptScriptlet 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