Click or drag to resize

LengthUnit Methods

The LengthUnit type exposes the following members.

Methods
 NameDescription
Public methodConvertFrom Converts a length value from the specified source unit into this unit.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberFromShortcut Gets a length unit from its shortcut.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberTryParse Parse a string that ends with a length unit to return the length unit. The string is trimmed at the end before use.
Top
See Also