> 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/2.5/api/csharp/yarn.compiler/yarn.compiler.stringinfo.md).

# StringInfo

Struct in [Yarn.Compiler](/2.5/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](/2.5/api/csharp/yarn.compiler/yarn.compiler.compiler.md) .

## Fields

| Name                                                                                                              | Description                                                       |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [fileName](/2.5/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.filename.md)           | The name of the file this string was found in.                    |
| [isImplicitTag](/2.5/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.isimplicittag.md) | Indicates whether this string's line ID was implicitly generated. |
| [lineNumber](/2.5/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](/2.5/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.metadata.md)           | The metadata (i.e. hashtags) associated with this string.         |
| [nodeName](/2.5/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.nodename.md)           | The name of the node that this string was found in.               |
| [text](/2.5/api/csharp/yarn.compiler/yarn.compiler.stringinfo/yarn.compiler.stringinfo.text.md)                   | The original text of the string.                                  |

## Methods

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