 | StringUtilsParseInt Method (String, Int32) |
Parses an string into an integer. If the value can't be parsed
a default value is returned instead
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static int ParseInt(
string input,
int defaultValue
)
Public Shared Function ParseInt (
input As String,
defaultValue As Integer
) As Integer
public:
static int ParseInt(
String^ input,
int defaultValue
)
static member ParseInt :
input : string *
defaultValue : int -> int
Parameters
- input
- Type: SystemString
[Missing <param name="input"/> documentation for "M:Koden.Utils.StringUtils.ParseInt(System.String,System.Int32)"]
- defaultValue
- Type: SystemInt32
[Missing <param name="defaultValue"/> documentation for "M:Koden.Utils.StringUtils.ParseInt(System.String,System.Int32)"]
Return Value
Type:
Int32[Missing <returns> documentation for "M:Koden.Utils.StringUtils.ParseInt(System.String,System.Int32)"]
See Also