OptionsCollection.GetInt Method
Returns value of the option in integer format.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public int GetInt(
string name,
int defaultValue = -1
)
Public Function GetInt (
name As String,
Optional defaultValue As Integer = -1
) As Integer
public:
virtual int GetInt(
String^ name,
int defaultValue = -1
) sealed
abstract GetInt :
name : string *
?defaultValue : int
-> int
override GetInt :
name : string *
?defaultValue : int
-> int
- name String
- Name of the option to retrieve.
- defaultValue Int32 (Optional)
- Default value to return if no option is found by the given name.
Int32A value of the option in integer format.