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

AddOption(String,MultiLangString,Boolean) Method
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