IScriptScriptlet::SetSubItemName

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

Syntax

HRESULT SetSubItemName(  
   LPCOLESTR          psz  
);  

Parameters

psz
If the host's fully qualified scriptlet name has more than one level, psz is the buffer address of the identifier at the second level.

If the host's fully qualified scriptlet name has one level, psz is 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