Click or drag to resize

PrefixedUnit Structure

Represents a prefixed unit, i.e. a unit together with an SI prefix.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Altaxo.UnitsPrefixedUnit

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public struct PrefixedUnit : IPrefixedUnit

The PrefixedUnit type exposes the following members.

Constructors
 NameDescription
Public methodPrefixedUnit(IUnit) Initializes a new instance of the PrefixedUnit struct (with None as prefix).
Public methodPrefixedUnit(SIPrefix, IUnit) Initializes a new instance of the PrefixedUnit struct.
Top
Properties
 NameDescription
Public propertyPrefix Gets the prefix.
Public propertyUnit Gets the unit.
Top
Methods
 NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString Converts to a string consisting of prefix and unit.
(Overrides ValueTypeToString)
Top
See Also