Eplan Platform API
Eplan.EplApi.DataModel Namespace / OptionGroup Class / AddOption Method / AddOption(String,MultiLangString,Boolean) Method
name of the option
multilang description of the option
state of the option

In This Topic
    AddOption(String,MultiLangString,Boolean) Method
    In This Topic
    Adds Option to the OptionGroup.
    Syntax

    Parameters

    Parameter NameDescription
    strNamename of the option
    mlDescriptionmultilang description of the option
    bIsActivestate of the option

    Return Value

    Returns added Option.
    Exceptions
    ExceptionDescription
    Thrown when strName is null.
    Thrown when strName is empty.
    Thrown when mlDescription is empty.
    Thrown when Option with strName already exists in OptionGroup.
    See Also