This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Unit Members
Public:
Constructor
Properties
IsEmpty |
Whether this is an empty Unit. |
Type |
The type of the Unit. |
Value |
The value of the Unit. |
Methods
Equals |
Compares this unit with another unit |
FromString |
Create a Unit from a string. |
GetHashCode (inherited from ValueType) |
Returns the hash code for this instance. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Percentage |
Create a Unit of type Percentage from an int. |
Pixel |
Create a Unit of type Pixel from an int. |
Point |
Create a Unit of type Point from an int. |
ToString |
Convert a Unit to a string. |
Operators and Type Conversions
Fields
Protected:
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
Unit Structure | System.Web.UI.WebControls Namespace