> 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/yarn.program/yarn.program.lineidsfornode.md).

# LineIDsForNode(string)

Method in [Program](/api/csharp/yarn/yarn.program.md)

## Summary

Identifies and returns a list of all line and option IDs inside the node.

```csharp
public List<string>? LineIDsForNode(string nodeName)
```

## Parameters

| Name              | Description                                   |
| ----------------- | --------------------------------------------- |
| `string` nodeName | The name of the node whos line IDs you covet. |

## Returns

The line IDs of all lines and options inside the node, or `null` if `nodeName` doesn't exist in the program.
