Share via


IScriptEntry::SetName

For entries that represent a single object (such as a function), sets the name of the object.

Syntax

HRESULT SetName(  
   LPCOLESTR          psz  
);  

Parameters

psz
[in] The new name of the IScriptEntry object.

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
IScriptEntry::GetName