Click or drag to resize
PhysicalUnit Methods

The PhysicalUnit type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAreUnitsSameCategory
Public methodStatic memberAreUnitTypesCompatible
Determines whether the unit types of the specified units are compatible. Two unit types are compatible if both their types are well-defined (not "other" or "no type") and are identical.
Public methodStatic memberFind(String, CultureInfo)
Looks up and returns the unit associated with the specified unit abbreviation. The default unit system for the abbreviation is determined by looking up the default system for capacity in the specified culture.
Public methodStatic memberFind(String, UnitSystem, CultureInfo)
Looks up and returns the unit associated with the specified unit abbreviation.
Public methodStatic memberGetAbbreviations
Gets the known abbreviations for the specified unit. The return value may indicate vertical bars to indicate multiple alternative abbreviations.
Public methodStatic memberGetDefaultSystem
Determines the default UnitSystem for the specified unit type in the specified culture.
Public methodStatic memberGetName
Gets the name for the specified unit.
Public methodStatic memberGetPreferredAbbreviation
Gets the preferred abbreviation for the specified unit. The preferred abbreviation is used for auto-localization. It is the first abbreviation in a list of alternative abbreviations for the unit.
Public methodStatic memberGetSystem
Obtains the UnitSystem of the specified unit.
Public methodStatic memberGetUnits
Returns a word list which contains all units known for the provided culture.
Public methodStatic memberGetUnitsRX
Returns a regular expression which matches all units known for the provided culture.
Public methodStatic memberGetUnitType
Obtains the UnitType of the specified unit.
Public methodStatic memberIsMetric
Determines whether the specified unit belongs to the metric system.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments