# IRsNamedItem Interface Reference

Inherits IUnknown.

Inherited by CRiSpaceCommand.

List of all members.

## Properties
BSTR * | Name`[get]`

## Detailed Description

IRsNamedItem defines interface for commands that can be used within scripts.

The script support is integrated into base structures for processing commands and command pipeline accepts two forms of commands: text and object. A command represented as a text is added to the code scriplet and parsed in the script engine prior to executing. For this reason the command factory interface provides the EnumScriptObjects method for enumerating objects, which are then used to construct and execute commands when scriplet is parsed in the script engine. These objects, called Named items, are Automation-compliant COM objects and they must implement IRsNamedItem interface. The name provided by IRsNamedItem interface is the used to create association between top-level symbols in the script engine and named item objects registered in the script host. Named items object are enumerated and added to the scripting engine's name space during package initialization process

## Property Documentation

BSTR* IRsNamedItem::Name`[get]`

Return name of group of script commands. All non-local methods will be then available in script using name.method

Returns:
  pVal [out, retval] Name of script item.