Contents

Measurement.AttributedStyle.ByteCount

A format style that converts byte counts into attributed strings.

Declaration

struct ByteCount

Overview

Use the attributed modifier on a Measurement.FormatStyle.ByteCount instance to create a format style of this type.

The attributed strings that this fomat style creates 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.

Topics

Creating an attributed byte count format style

Formatting a byte count

Accessing style properties

Modifying style locale

See Also

Creating attributed strings