---
title: "subscript(_:_:_:_:)"
framework: foundation
role: symbol
role_heading: Instance Subscript
path: "foundation/attributedstring/runs-swift.struct/subscript(_:_:_:_:)-7h5tw"
---

# subscript(_:_:_:_:)

## Declaration

```swift
@preconcurrency subscript<T, U, V, W>(t: T.Type, u: U.Type, v: V.Type, w: W.Type) -> AttributedString.Runs.AttributesSlice4<T, U, V, W> where T : AttributedStringKey, U : AttributedStringKey, V : AttributedStringKey, W : AttributedStringKey, T.Value : Sendable, U.Value : Sendable, V.Value : Sendable, W.Value : Sendable { get }
```
