API Help
Eplan.EplApi.DataModel Namespace / InterruptionPointsFilter Class / ExactNameMatching Property
Example

In This Topic
    ExactNameMatching Property (InterruptionPointsFilter)
    In This Topic
    Sets if the filtered function, when is filtered by name, should be matched exactly, it means that if searched name is only its name' prefix, it is not matching to the filter. Dafault 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";
    InterruptionPoint[] interruptionPoints = p.InterruptionPoints; //now we have all InterruptionPoints named exactly "AP+ST-X"
    
    p.Filter.ExactNameMatching = false;
    interruptionPoints = p.InterruptionPoints; //now we have all InterruptionPoints that name starts from "AP+ST-X"
    See Also