Share via


ToInteger Method (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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
)
public:
static int ToInteger(
    String^ Value
)
static member ToInteger : 
        Value:string -> int 
public static function ToInteger(
    Value : String
) : int

Parameters

Return Value

Type: System. . :: . .Int32
The int value of the string.

.NET Framework Security

See Also

Reference

Conversions Class

ToInteger Overload

Microsoft.VisualBasic.CompilerServices Namespace