# FromString(string)

> Provides a type converted from a string representation.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.UIElements](/engine/6000.3/script-reference/unityeditor/uielements.md)
* **Assembly:** UnityEditor

```csharp
public abstract T FromString(string value)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): A string representation of the type.

### Returns

| Type | Description                             |
| ---- | --------------------------------------- |
| T    | Instance of type from the string value. |

### Remarks

Returns an instance or value of a type from the string representation.
