adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / OptionCollection Class / GetOptionValue Method / GetOptionValue(String,String) Method
The name of the option to get (case-insensitive)
The default value to return if the option does not exist


In This Topic
    GetOptionValue(String,String) Method
    In This Topic
    Gets the value of the option with the specified name
    Syntax
    '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.
    See Also