This documentation is archived and is not being maintained.
Unit Methods
Visual Studio 2010
The Unit type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Compares this Unit with the specified object. (Overrides ValueType::Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Returns a hash code for this Unit. (Overrides ValueType::GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Parse(String) | Converts the specified string to a Unit. |
|
Parse(String, CultureInfo) | Converts the specified string and System.Globalization::CultureInfo 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() | Infrastructure. Converts a Unit to a System::String. (Overrides ValueType::ToString().) |
|
ToString(CultureInfo) | Converts a Unit to a string equivalent in the specified culture. |
|
ToString(IFormatProvider) | Converts a Unit to a string equivalent using the specified format provider. |
Show: