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

# Method GetHighlightNames

Namespace: [Phoenix.ComponentPlugInSDK.Models](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models)\
Assembly: Phoenix.ComponentPlugInSDK.dll

## GetHighlightNames(IEnumerable\<string>)

Gets a list of names to highlight from an enumerable of variables.
Note: the highlighter uses Regex matching.
Each item is matched as a regex word and special characters need to be escaped.
To highlight "obj.value", include "obj.value" in the returned list.

```csharp theme={null}
IEnumerable<string> GetHighlightNames(IEnumerable<string> variables)

```

### Parameters

`variables` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[string](https://learn.microsoft.com/dotnet/api/system.string)>

The variables that should be highlighted.

### Returns

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[string](https://learn.microsoft.com/dotnet/api/system.string)>

An enumerable of strings that should be highlighted
