API Help
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

    strName
    name of the option
    mlDescription
    multilang description of the option
    bIsActive
    state 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