Skip to main content

Component Plug-In SDK 2026 R1

Method GetHighlightNames

Last update: 19.06.2026

Namespace: Phoenix.ComponentPlugInSDK.Models
Assembly: Phoenix.ComponentPlugInSDK.dll

GetHighlightNames(IEnumerable)

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.

IEnumerable<string> GetHighlightNames(IEnumerable<string> variables)

Parameters

variables IEnumerable<string>

The variables that should be highlighted.

Returns

IEnumerable<string>

An enumerable of strings that should be highlighted

Connect with Ansys