# Sandbox.Internal.TypeLibrary.GetAttribute

```csharp
T GetAttribute(System.Type t)
```

Get single attribute of type, from type

### Parameters

- `t` (`System.Type`)

### Returns

`T`

Declared in [Sandbox.Internal.TypeLibrary](/api/Sandbox.Internal.TypeLibrary).
Assembly: `Sandbox.Reflection`.
