Method ParseInt32
ParseInt32(Char[])
Parses the string argument as if it was an
NOTE: This was parseInt() in Lucene
Declaration
public static int ParseInt32(char[] chars)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | chars | A string representation of an int quantity. |
Returns
Type | Description |
---|---|
System.Int32 | The value represented by the argument |
ParseInt32(Char[], Int32, Int32)
Parses a char array into an
NOTE: This was parseInt() in Lucene
Declaration
public static int ParseInt32(char[] chars, int offset, int len)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | chars | The character array |
System.Int32 | offset | The offset into the array |
System.Int32 | len | The length |
Returns
Type | Description |
---|---|
System.Int32 | the |
ParseInt32(Char[], Int32, Int32, Int32)
Parses the string argument as if it was an
NOTE: This was parseInt() in Lucene
Declaration
public static int ParseInt32(char[] chars, int offset, int len, int radix)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | chars | A string representation of an int quantity. |
System.Int32 | offset | |
System.Int32 | len | |
System.Int32 | radix | The base to use for conversion. |
Returns
Type | Description |
---|---|
System.Int32 | The value represented by the argument |