Unit.ToString Method (CultureInfo)

 

Converts a Unit to a string equivalent in the specified culture.

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

public string ToString(
	CultureInfo culture
)

Parameters

culture
Type: System.Globalization.CultureInfo

A System.Globalization.CultureInfo that represents the culture.

Return Value

Type: System.String

A System.String represents this Unit in the culture specified by culture.

Use the ToString method to convert the Unit that this method is called from to a string equivalent in the specified culture.

.NET Framework
Available since 1.1
Return to top
Show: