Conversions.ToInteger Method (String)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Converts a string to an integer value.
Namespace: Microsoft.VisualBasic.CompilerServices
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Syntax
'Declaration
Public Shared Function ToInteger ( _
Value As String _
) As Integer
public static int ToInteger(
string Value
)
Parameters
- Value
Type: System.String
The string to convert.
Return Value
Type: System.Int32
The int value of the string.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also