> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSTag

## Constructors

### NSTag()

```crmscript theme={null}
NSTag
```

Initializes a new instance of the NSTag class.

## Methods

## GetId()

```crmscript theme={null}
Integer GetId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The ID of the ListItem.

**Example:**

```crmscript theme={null}
NSTag thing;
Integer id = thing.GetId();
```

## GetName()

```crmscript theme={null}
String GetName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The name of the ListItem.

**Example:**

```crmscript theme={null}
NSTag thing;
String name = thing.GetName();
```

## GetToolTip()

```crmscript theme={null}
String GetToolTip()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The tooltip of the ListItem.

**Example:**

```crmscript theme={null}
NSTag thing;
String toolTip = thing.GetToolTip();
```

## SetId(Integer)

```crmscript theme={null}
Void SetId(Integer id)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSTag thing;
Integer id;
thing.SetId(id);
```

## SetName(String)

```crmscript theme={null}
Void SetName(String name)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSTag thing;
String name;
thing.SetName(name);
```

## SetToolTip(String)

```crmscript theme={null}
Void SetToolTip(String toolTip)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSTag thing;
String toolTip;
thing.SetToolTip(toolTip);
```


## Related topics

- [NSTicketEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSTicketEntity.md)
- [tags](/en/api/mdo-providers/reference/tags.md)
- [Tags table](/en/database/tables/tags.md)
- [Using tags in requests](/en/request/learn/tags.md)
- [Enum TagEntity](/en/automation/crmscript/reference/CRMScript.NetServer.TagEntity.md)
- [legal_html_tags table](/en/database/tables/legal-html-tags.md)
