Macro Reference — Configs Collection — Item Property (Configs Collection)

# Item Property (Configs Collection)

Retrieves the Config object for the configuration of the specified index.

##

### [JavaScript]

    doc = editor.Configs.Item( Index );

### [VBScript]

    doc = editor.Configs.Item( Index )

## Parameters

Index

Specifies the index of the configuration as a one-based integer.

## Examples

### [JavaScript]

    alert( "Name for the first configuration: " + editor.Configs.Item(1).Name );

### [VBScript]

    alert "Name for the first configuration: " & editor.Configs.Item(1).Name

## Version

Supported on EmEditor Professional Version 7.00 or later.