BinaryUnitInfoShortKilo Property

Gets or sets the abbreviated version of the kilo prefix, when interpreted as powers of two (1,024 bytes).

Definition

Namespace: Ookii
Assembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.1.0+e86ae44c345422a1011f7fa7b6b715bf3d1a34ce
C#
public string ShortKilo { get; set; }

Property Value

String
The abbreviated prefix. The default value is "K".

Remarks

When formatting, this prefix is used only when SI prefixes are treated as powers of two (see the format string information for the BinarySizeToString(String, IFormatProvider) method). For a powers of ten version of the kilo prefix, the ShortDecimalKilo property is used.

When parsing, whether this prefix is interpreted as powers of two or powers of ten depends on the BinarySizeOptions value used.

Exceptions

ArgumentNullException The property is being set to .
InvalidOperationException The property is being set and the BinaryUnitInfo object is read-only.

See Also