Share via


IScriptEntry::GetName

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

Syntax

HRESULT GetName(  
   BSTR               *pbstr  
);  

Parameters

pbstr
[out] The name of the object represented by the IScriptEntry script block. If an entry does not represent a single object, NULL is returned.

Child entries represent a single function 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
IScriptNode:: CreateChildEntry