Click or drag to resize

imbStringFormatsgetInt32Safe Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Vraca Int32 na bezbedan nacin

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static int getInt32Safe(
	this string input,
	int ifFail = 0
)
Request Example View Source

Parameters

input
Type: SystemString
ifFail (Optional)
Type: SystemInt32

Return Value

Type: Int32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also