API Help
Eplan.EplApi.DataModel Namespace / OptionGroup Class / GetOptionByName Method
name of the option to find

In This Topic
    GetOptionByName Method (OptionGroup)
    In This Topic
    Returns Option assigned to the OptionGroup with given name.
    Syntax
    public Option GetOptionByName( 
       string strName
    )
    public:
    Option^ GetOptionByName( 
       String^ strName
    ) 

    Parameters

    strName
    name of the option to find

    Return Value

    Option assigned to the OptionGroup that has passed strName.
    Exceptions
    ExceptionDescription
    Thrown when strName is null.
    Thrown when strName is empty.
    See Also