Represents a base class for units of measure. This class is abstract (MustInherit in Visual Basic)abstractMustInherit and so cannot be instantiated.


The following tables list the members exposed by UomUnit.

Public Constructors

Name Description
Static Public method UomUnit Overloaded. Initializes a new instance of the UomUnit class.
Top

Public Properties

Name Description
Public property Abbreviation Gets or sets the abbreviation of an object.
Public property Alias Gets or sets the alias of an object.
Public property Authority Gets or sets the authority name of an object. I.e. returns EPSG if this is a standard object with an authority-specific identity code. Returns CUSTOM if this is a custom object.
Public property AuthorityCode Gets or sets the authority-specific identification code of an object.
Public property ConversionFactor Gets or sets unit conversion factor for converting arbitrary units to standard (SI) units and vice-versa. Conversion factor (A) is calculated using the following formula: A = B / C
Public property FactorB Gets or sets a multiplier factor used for unit conversion.
Public property FactorC Gets or sets a unity factor used for unit conversion.
Public property Name Gets or sets the name of an object.
Public property Remarks Gets or sets the provider-supplied remarks of an object.
Public property UnitType Returns the type of an unit.
Public property WKT Returns the Well-Known Text (WKT) representation for a spatial reference object, as defined in the simple features specification.
Public property XML Returns the XML representation of an object.
Top

Public Methods

Name Description
Public method EqualParams Checks whether the values of this instance is equal to the values of another instance. Only parameters used for coordinate system are used for comparison. Name, abbreviation, authority, alias and remarks are ignored in the comparison.
Public method Equals Overloaded. Compares this instance to a specified unit and returns an indication of their relative values.
Public method GetHashCode Serves as a hash function for a particular type. (inherited from Object)
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public operator Static op_Equality Returns True if two units are equal, otherwise returns False.
Public operator Static op_Inequality Returns True if two units are not equal, otherwise returns False.
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Top

Protected Methods

Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

Explicit Interface Implementations

Name Description
Static Private method UomUnit Overloaded. Initializes a new instance of the UomUnit class.
Top

See Also