public string ShortBytes { get; set; }
Public Property ShortBytes As String
Get
Set
public:
property String^ ShortBytes {
String^ get ();
void set (String^ value);
}
member ShortBytes : string with get, set
When formatting, the ShortByte property is only used if the value, when scaled to the prefix, is exactly one. For example, 1 B, 1 KiB, 1 PB, etc.
If the value is not exactly one, but is rounded to one by the number format used, the ShortBytes property is still used. For example, a value of 1.01 kibibytes, when using a format string of "0.# SiB", would be formatted as "1 KiB", using the plural version of the unit.
In the default (invariant) information, the singular and plural abbreviated units are the same.
ArgumentNullException | The property is being set to . |
InvalidOperationException | The property is being set and the BinaryUnitInfo object is read-only. |