Converts the specified string and System.Globalization.CultureInfo to a System.Web.UI.WebControls.Unit.
- s
- The string to convert.
- culture
- A System.Globalization.CultureInfo object that represents the culture.
A System.Web.UI.WebControls.Unit that represents the specified string.
Use the Unit.Parse(string) static method to convert the string specified by s to a System.Web.UI.WebControls.Unit in the culture specified by culture.
The unit of measurement when using this method is UnitType.Pixel.