Click or drag to resize

SimpleParseGetSwitchInt Method

Gets the first value of a switch argument in the format /name value converted to an Int32. Null is returned if the switch is not specified or it has no values or the first value cannot be converted to an Int32.

Namespace: Orthogonal.Common.Basic
Assembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 2024-04-29 08:29 GMT+10
Syntax
C#
public int? GetSwitchInt(
	string name
)

Parameters

name  String
 

Return Value

NullableInt32
See Also