NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Unit Methods

The methods of the Unit structure are listed below. For a complete list of Unit structure members, see the Unit Members topic.

Public:

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.

Protected:

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