Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

SystemInfo.TryParse�Method�(String, Int64)

Parse a string into an Int64 value

[Visual�Basic]
Overloads�Public�Shared�Function�TryParse( _
���ByVal s�As�String,�_
���ByRef val�As�Long�_
)�As�Boolean
[C#]
public�static�bool�TryParse(
���strings,
���out�longval
);

Parameters

s
the string to parse
val
out param where the parsed value is placed

Return Value

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

SystemInfo Class | log4net.Util Namespace | SystemInfo.TryParse Overload List