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


In This Topic
    SetOptionValue(String,Nullable<Boolean>) 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 Nullable(Of Boolean) _
    ) As Option
    [NotNull()]
    public Option SetOptionValue( 
       string optionName,
       Nullable<bool> value
    )
    [NotNull()]
    public:
    Option^ SetOptionValue( 
       String^ optionName,
       Nullable<bool> 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