'Declaration
Public Overloads Function GetOptionValue( _ ByVal optionName As String, _ ByVal defaultValue As Boolean _ ) As Boolean
public bool GetOptionValue( string optionName, bool defaultValue )
public: bool GetOptionValue( String^ optionName, bool 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.