# Sandbox.DisplayInfo.ForMember

```csharp
static DisplayInfo ForMember(System.Reflection.MemberInfo t, bool inherit = True)
```

Retrieves display info about a given member or type.

### Parameters

- `t` (`System.Reflection.MemberInfo`): The member to look up display info for.
- `inherit` (`bool`), default `True`: If member given is a `T:System.Type`, loads 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`.
