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