BinaryUnitInfoShortConnector Property

Gets or sets a string that can be used between an abbreviated prefix (e.g. ShortKibi) and a unit (e.g. ShortByte).

Definition

Namespace: Ookii
Assembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.2.0+20f0bdf981c7baf115c68ccab612b1a031efcb4d
C#
public string ShortConnector { get; set; }

Property Value

String
The connector for abbreviated units. The default value is an empty string.

Remarks

The connector will be inserted when formatting a value if both a prefix and unit are present. When parsing, the connector may be present between prefix and unit, but it is always optional and parsing will not fail if it is not present.

Exceptions

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

See Also