This documentation is archived and is not being maintained.

Unit Operators and Type Conversions

.NET Framework 1.1

The operators and type conversions of the Unit structure are listed here. For a complete list of Unit structure members, see the Unit Members topic.

Public Type Conversions

public operatorstatic (Shared in Visual Basic)Equality Operator Compares two Unit objects to determine whether they are equal.
public operatorstatic (Shared in Visual Basic)Inequality Operator Compares two Unit objects to determine whether they are not equal.
public operatorstatic (Shared in Visual Basic)Int32 to Unit Conversion Implicitly creates a Unit of type Pixel from the specified 32-bit unsigned integer.

See Also

Unit Structure | System.Web.UI.WebControls Namespace

Show: