---
title: attributed
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/measurement/formatstyle/bytecount/attributed
---

# attributed

An attributed format style based on the byte count format style.

## Declaration

```swift
var attributed: Measurement<UnitInformationStorage>.AttributedStyle.ByteCount { get }
```

## Discussion

Discussion Use this modifier to create a ByteCountFormatStyle.Attributed instance, which formats values as AttributedString instances. These attributed strings contain attributes from the AttributeScopes.FoundationAttributes.NumberFormatAttributes attribute scope. Use these attributes to determine which runs of the attributed string represent different parts of the formatted value.

## See Also

### Creating attributed strings

- [Measurement.AttributedStyle.ByteCount](foundation/measurement/attributedstyle/bytecount.md)
