This documentation is archived and is not being maintained.
Unit Methods
.NET Framework 1.1
The methods of the Unit structure are listed here. For a complete list of Unit structure members, see the Unit Members topic.
Public Methods
Equals | Overridden. Compares this Unit with the specified object. |
GetHashCode | Overridden. See ValueType.GetHashCode. |
GetType (inherited from Object) | Gets the Type of the current instance. |
![]() Parse | Overloaded. Converts a string to a Unit. |
![]() Percentage | Creates a Unit of type Percentage from the specified double precision floating point number. |
![]() Pixel | Creates a Unit of type Pixel from the specified 32-bit signed integer. |
![]() Point | Creates a Unit of type Point from the specified 32-bit signed integer. |
ToString | Overloaded. Converts a Unit to a string equivalent. |
Protected Methods
Finalize (inherited from Object) | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
Show:
