> For the complete documentation index, see [llms.txt](https://docs.sansar.com/latest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sansar.com/latest/script-api-docs/sansar-script-namespace/entries-attribute.md).

# Entries Attribute

### EntriesAttribute Class

List of entries to populate IList or IDictionary properties with.

### Syntax

\[System.AttributeUsage(System.AttributeTargets.Field)]\
public class **EntriesAttribute** : [Attribute](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Attribute)

### Member Details

#### EntriesAttribute Constructor

> List of entries to populate IList or IDictionary properties with.
>
> ### Syntax
>
> public **EntriesAttribute** (**params** [object](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object)\[] entries)
>
> **Parameters**
>
> > *entries*
>
> ### Remarks
>
> ### Example

<table data-header-hidden><thead><tr><th></th></tr></thead><tbody><tr><td><strong>C# Example</strong></td></tr><tr><td><pre><code>            [Entries("King", "Queen", "Rook", "Bishop", "Knight", "Pawn")]
</code></pre></td></tr></tbody></table>

```
        public IDictionary&#x3C;string, ClusterResource> GamePieces;
    [Entries("&#x26;lt;1,2,3&#x26;gt;", "&#x26;lt;2.5,3.6,4.6&#x26;gt;")]        public IList&#x26;lt;Sansar.Vector&#x26;gt; GamePieces;        &#x3C;/pre>&#x3C;/td>&#x3C;/tr>&#x3C;/tbody>&#x3C;/table>
```

Requirements **Namespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0**

Locked Field

Locks the IDictionary or IList properties so entries can not be added or removed. Syntax **public Locked** Remarks Requirements **Namespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0**

|
