[FlagsAttribute]
public enum BinarySizeOptions
<FlagsAttribute>
Public Enumeration BinarySizeOptions
[FlagsAttribute]
public enum class BinarySizeOptions
[<FlagsAttribute>]
type BinarySizeOptions
This enumeration supports a bitwise combination of its member values.
Default | 0 | Use the default interpretation, where 1 KB equals 1 KiB equals 1,024 bytes, and 1 MB equals 1 MiB equals 1,048,576 bytes, and so on. Only abbreviated (short) units are allowed. |
UseIecStandard | 1 | Use the interpretation suggested by the IEC standard, where 1 kB equals 1,000 bytes, 1 KiB equals 1,024 bytes, 1 MB equals 1,000,000 bytes, 1 MiB equals 1,048,576 bytes, and so on. |
AllowLongUnits | 2 | Allow the use of unabbreviated (long) units, as defined by the BinaryUnitInfo class. Typically, these are units written out fully such as "kilobyte". If the AllowLongUnitsOnly flag is not present, both short and long units are accepted. |
AllowLongUnitsOnly | 4 | Only allow the use of unabbreviated (long) units, as defined by the BinaryUnitInfo class. Typically, these are units written out fully such as "kilobyte". Abbreviated (short) units will not be accepted. Implies AllowLongUnits. |