# Sandbox.DisplayInfo.For

```csharp
static DisplayInfo For(object t, bool inherit = True)
```

Retrieves display info about a given objects type.

### Parameters

- `t` (`object`): The type to look up display info for.
- `inherit` (`bool`), default `True`: Whether to load in base type's display info first, then overrides all possible fields with given type's information.

### Returns

`DisplayInfo`: The display info. Will contain empty fields on failure.

Declared in [Sandbox.DisplayInfo](/api/Sandbox.DisplayInfo).
Assembly: `Sandbox.Reflection`.
