Click or drag to resize

SimpleParseGetSwitchValueInt Method

Gets a switch argument value in the format /name value1 value2 at a specified index converted to an Int32. Null is returned if the switch is not specified or there is no value at the specified index or it 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? GetSwitchValueInt(
	string name,
	int index
)

Parameters

name  String
 
index  Int32
 

Return Value

NullableInt32
See Also