Share via


IScriptEntry Interface

An object that implements the IScriptEntry interface represents either a script block or a function object.

In addition to the methods inherited from IScriptNode, the IScriptEntry interface exposes the following methods.

Methods in Vtable Order

Method Description
IScriptEntry::GetBody Returns the text that corresponds to the body of an IScriptEntry script block, function block, or scriptlet.
IScriptEntry::GetItemName Returns the item name that identifies an IScriptEntry object.
IScriptEntry::GetName For entries that represent a single object (such as a function), returns the name of the object.
IScriptEntry::GetRange Returns the start position and length of an entry.
IScriptEntry::GetSignature Returns type information for an IScriptEntry function object.
IScriptEntry::GetText Returns the text that corresponds to an IScriptEntry script block, or the source code that is contained in an IScriptScriptlet event handler.
IScriptEntry::SetBody Sets the text that is in the body of an IScriptEntry script block or an IScriptScriptlet scriptlet.
IScriptEntry::SetItemName Sets the item name that identifies an IScriptEntry object.
IScriptEntry::SetName For entries that represent a single object (such as a function), sets the name of the object.
IScriptEntry::SetSignature Sets type information for an IScriptEntry function object.
IScriptEntry::SetText Sets the text that corresponds to an IScriptEntry script block, or the source code that is contained in an IScriptScriptlet event handler.

See also

Active Script Authoring Interfaces