public string LongByte { get; set; }
Public Property LongByte As String
Get
Set
public:
property String^ LongByte {
String^ get ();
void set (String^ value);
}
member LongByte : string with get, set
When formatting, the LongByte property is only used if the value, when scaled to the prefix, is exactly one. For example, 1 byte, 1 kibibyte, 1 petabyte, etc.
If the value is not exactly one, but is rounded to one by the number format used, the LongBytes property is still used. For example, a value of 1.01 kibibytes, when using a format string of "0.# Sibyte", would be formatted as "1 kibibytes", using the plural version of the unit.
ArgumentNullException | The property is being set to null. |
InvalidOperationException | The property is being set and the BinaryUnitInfo object is read-only. |