> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.stringinfo.md).

# StringInfo

Struct in [Yarn.Compiler](/api/csharp/yarn.compiler.md)

Inherits from `System.ValueType`

## Summary

Information about a string. Stored inside a string table, which is produced from the Compiler.

```csharp
public struct StringInfo
```

## Remarks

You do not create instances of this class yourself. They are generated by the [Compiler](/api/csharp/yarn.compiler/yarn.compiler.compiler.md) .

## Fields

| Name                                                                                                          | Description                                                                                         |
| ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [fileName](/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.filename.md)           | The name of the file this string was found in.                                                      |
| [isImplicitTag](/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.isimplicittag.md) | Indicates whether this string's line ID was implicitly generated.                                   |
| [lineNumber](/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.linenumber.md)       | The line number at which this string was found in the file.                                         |
| [metadata](/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.metadata.md)           | The metadata (i.e. hashtags) associated with this string.                                           |
| [nodeName](/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.nodename.md)           | The name of the node that this string was found in.                                                 |
| [shadowLineID](/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.shadowlineid.md)   | The ID of the line that this line is shadowing, or null if this line is not shadowing another line. |
| [text](/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.text.md)                   | The original text of the string.                                                                    |

## Methods

| Name                                                                                                  | Description |
| ----------------------------------------------------------------------------------------------------- | ----------- |
| [ToString()](/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.tostring.md) |             |
