Click or drag to resize
Unit Methods

The Unit type exposes the following members.

Methods
  NameDescription
Public methodEquals
Compares this Unit with the specified object.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for this Unit.
(Overrides ObjectGetHashCode.)
Public methodStatic memberParse(String)
Converts the specified string to a Unit.
Public methodStatic memberParse(String, CultureInfo)
Public methodStatic memberPercentage
Creates a Unit of type Percentage from the specified double-precision floating-point number.
Public methodStatic memberPixel
Creates a Unit of type Pixel from the specified 32-bit signed integer.
Public methodToString
Base ToString override
(Overrides ObjectToString.)
Public methodToString(CultureInfo)
Base ToString override
Top
See Also