'Declaration
Public Overloads Function GetOptionValue( _ ByVal optionName As String, _ ByVal defaultValue As Integer _ ) As Integer
public int GetOptionValue( string optionName, int defaultValue )
public: int GetOptionValue( String^ optionName, int defaultValue )
Parameters
- optionName
- The name of the option to get (case-insensitive)
- defaultValue
- The default value to return if the option does not exist
Return Value
The OptionValue of the option with the specified name, or defaultValue if the collection does not contain an option with that name or the value cannot be converted to the required type.