> 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/3.1/api/csharp/yarn/yarn.ivariableaccess/yarn.ivariableaccess.getvariablekind.md).

# GetVariableKind(string)

Method in [IVariableAccess](/3.1/api/csharp/yarn/yarn.ivariableaccess.md)

## Summary

Gets the kind of variable named `name` .

```csharp
VariableKind GetVariableKind(string name);
```

## Parameters

| Name          | Description               |
| ------------- | ------------------------- |
| `string` name | The name of the variable. |

## Returns

A [VariableKind](/3.1/api/csharp/yarn/yarn.variablekind.md) enum representing the kind of the variable named `name` .
