Contents

attributed

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

Declaration

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

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