SystemInfo TryParse Method (String, Int32 )Apache log4net™ SDK Documentation
Parse a string into an OnlineInt32 value

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public static bool TryParse(
	string s,
	out int val
)

Parameters

s
Type: OnlineSystem String
the string to parse
val
Type: OnlineSystem Int32 
out param where the parsed value is placed

Return Value

Type: OnlineBoolean
true if the string was able to be parsed into an integer
Remarks

Attempts to parse the string into an integer. If the string cannot be parsed then this method returns false. The method does not throw an exception.

See Also