adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / OptionCollection Class / Add Method
The option to add


In This Topic
    Add Method (OptionCollection)
    In This Topic
    Adds a new option
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Sub Add( _
       ByVal newOption As Option _
    ) 
    public override void Add( 
       Option newOption
    )
    public:
    void Add( 
       Option^ newOption
    ) override 

    Parameters

    newOption
    The option to add
    Exceptions
    ExceptionDescription
    Thrown if the collection already contains an option with the same OptionName
    Remarks
    The new option must have a unique OptionName
    See Also