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

Parameters

name  String
 
index  Int32
 

Return Value

NullableInt32
See Also