Unit::Parse Method (String^)

 

Converts the specified string to a Unit.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
static Unit Parse(
	String^ s
)

Parameters

s
Type: System::String^

The string to convert.

Return Value

Type: System.Web.UI.WebControls::Unit

A Unit that represents the specified string.

Use the Parse static method to convert the string specified by the s parameter to a Unit.

System_CAPS_noteNote

The unit of measurement when using this method is Pixel.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: