Parses the string argument as if it was an int value and returns the result. Throws NumberFormatException if the string does not represent an int quantity.

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static int ParseInt(
	char[] chars
)
Visual Basic
Public Shared Function ParseInt ( _
	chars As Char() _
) As Integer
Visual C++
public:
static int ParseInt(
	array<wchar_t>^ chars
)

Parameters

chars
Type: array<System..::..Char>[]()[][]
a string representation of an int quantity.

Return Value

int the value represented by the argument

See Also