| Parameter | Description |
|---|---|
| value | The string value that the resulting UniqueStyleString needs to represent |
| result | A UniqueStyleString that matches the provided value, if any |
bool True if a UniqueStyleString representing the provided value currently exists
Attempts to retrieve an existing UniqueStyleString from a string value.
Methods such as VisualElement.AddToClassList guarantee that the
UniqueStyleString exists after the call. If TryGet returns false for a given value, then there is no
need to call VisualElement.ClassListContains for that same value, as it
will necessarily return false. Similarly, there is no need to call
VisualElement.RemoveFromClassList for that value.