This documentation is archived and is not being maintained.

Unit Constructor

.NET Framework 1.1

Initializes a new instance of the Unit structure.

Overload List

Initializes a new instance of the Unit structure with the specified double precision floating point number.

[Visual Basic] Public Sub New(Double)
[C#] public Unit(double);
[C++] public: Unit(double);
[JScript] public function Unit(double);

Initializes a new instance of the Unit structure with the specified 32-bit signed integer.

[Visual Basic] Public Sub New(Integer)
[C#] public Unit(int);
[C++] public: Unit(int);
[JScript] public function Unit(int);

Initializes a new instance of the Unit structure with the specified length.

[Visual Basic] Public Sub New(String)
[C#] public Unit(string);
[C++] public: Unit(String*);
[JScript] public function Unit(String);

Initializes a new instance of the Unit structure with the specified double precision floating point number and UnitType.

[Visual Basic] Public Sub New(Double, UnitType)
[C#] public Unit(double, UnitType);
[C++] public: Unit(double, UnitType);
[JScript] public function Unit(double, UnitType);

Initializes a new instance of the Unit structure with the specified length and System.Globalization.CultureInfo.

[Visual Basic] Public Sub New(String, CultureInfo)
[C#] public Unit(string, CultureInfo);
[C++] public: Unit(String*, CultureInfo*);
[JScript] public function Unit(String, CultureInfo);

See Also

Unit Structure | Unit Members | System.Web.UI.WebControls Namespace

Show: