adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / OptionCollection Class / SetOptionValue Method / SetOptionValue(String,String) Method
The name of the option to set (case-insensitive)
The new value for the option


In This Topic
    SetOptionValue(String,String) Method
    In This Topic
    Sets the value of the option with the specified name, creating the option if necessary
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Overloads Function SetOptionValue( _
       ByVal optionName As String, _
       ByVal value As String _
    ) As Option
    [NotNull()]
    public Option SetOptionValue( 
       string optionName,
       string value
    )
    [NotNull()]
    public:
    Option^ SetOptionValue( 
       String^ optionName,
       String^ value
    ) 

    Parameters

    optionName
    The name of the option to set (case-insensitive)
    value
    The new value for the option

    Return Value

    The new or existing Option
    Remarks
    This method looks for an existing option with the specified optionName. If none exists, it is created.
    See Also