Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the item name that identifies an IScriptEntry
object.
Syntax
HRESULT GetItemName(
BSTR *pbstr
);
Parameters
pbstr
[out] The address of a buffer that contains the item name. The item name is used by the host to identify the entry.
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
For IScriptScriptlet
objects, you set the item name by using IActiveScriptAuthor::AddScriptlet. For other interfaces, you set the item name by using IScriptEntry::SetItemName.