IScriptScriptlet::GetSubItemName

Returns the last identifier in the fully qualified name of a scriptlet's object host.

Syntax

HRESULT GetSubItemName(  
   BSTR               *pbstr  
);  

Parameters

pbstr
[out] If the host's fully qualified scriptlet name has more than one level, pbstr returns the buffer address of the identifier at the second level.

If the host's fully qualified scriptlet name has one level, pbstr returns the buffer address of the identifier at the first level.

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

IScriptScriptlet Interface