Eplan Platform API
Eplan.EplApi.DataModel Namespace / FunctionsFilter Class / ExactNameMatching Property
Example

In This Topic
    ExactNameMatching Property (FunctionsFilter)
    In This Topic
    Gets/Sets if the filtered function, when it is filtered by name, should be matched exactly. This means that if the searched name is only its prefix of the name, it will not match the filter. By default, this property is FALSE.
    Syntax
    public bool ExactNameMatching {get; set;}
    public:
    property bool ExactNameMatching {
       bool get();
       void set (    bool value);
    }
    Example
    Project proj; // A valid project
    Page p;       // A valid page object
    
    p.Filter.ExactNameMatching = true;
    p.Filter.Name = "AP+ST-X";
    Function[] functions = p.Functions; // Now, we have all the functions named exactly "AP+ST-X"
    
    p.Filter.ExactNameMatching = false;
    functions = p.Functions; // Now, we have all the functions whose names begin with "AP+ST-X"
    See Also