> 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/addentryattribute.md).

# AddEntryAttribute

### AddEntryAttribute Class

### Syntax

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

### Member Details

#### AddEntryAttribute Constructor

> Add an entry to the initial values in the parameter for IList and IDictionary
>
> ### Syntax
>
> public **AddEntryAttribute** ([object](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object) entry)
>
> **See Also**
>
> **Parameters**
>
> > *entry*
> >
> > IDictionary: the key of the entry. IList: the default value of the entry.
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Script\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***

#### AddEntryAttribute Constructor

> Add an entry to the initial values in the parameter for IList and IDictionary
>
> ### Syntax
>
> public **AddEntryAttribute** ([string](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String) key, [object](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object) value)
>
> **See Also**
>
> **Parameters**
>
> > *key*
> >
> > IDictionary: the key of the entry. IList: the default value.
> >
> > *value*
> >
> > IDictionary: the default value of the entry. IList: ignored
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Script\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***

***
