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-15 18:00 GMT+10.f27da1471008deaf16b803c17e24a5955690aef1
Syntax
C#
public int? GetSwitchInt(
	string name
)

Parameters

name  String
 

Return Value

NullableInt32
See Also