RingSoft.DataEntryControls.Engine.Annotations Namespace
RingSoft.DataEntryControls.WPF Namespace

ExtensionMethods..::..ToInt Method

Converts the string representation of a number to an integer.

Namespace:  RingSoft.DataEntryControls.Engine
Assembly:  RingSoft.DataEntryControls.Engine (in RingSoft.DataEntryControls.Engine.dll)

Syntax


public static int ToInt(
	this string text,
	CultureInfo culture
)
<ExtensionAttribute> _
Public Shared Function ToInt ( _
	text As String, _
	culture As CultureInfo _
) As Integer
[ExtensionAttribute]
public:
static int^ ToInt(
	String^ text, 
	CultureInfo^ culture
)

Parameters

text
Type: String
The text.
culture
Type: CultureInfo
The culture.

Return Value

System.Int32.