API Help
Eplan.EplApi.DataModel Namespace / FunctionsFilter Class / SetIdentifyingPropertyList Method / SetIdentifyingPropertyList(FunctionPropertyList) Method
List of the properties which are identifying the matching Functions. Cannot be null.
Example

In This Topic
    SetIdentifyingPropertyList(FunctionPropertyList) Method
    In This Topic
    Sets the FunctionPropertyList that identifies the matching Functions.
    Syntax
    public void SetIdentifyingPropertyList( 
       FunctionPropertyList identPropList
    )
    public:
    void SetIdentifyingPropertyList( 
       FunctionPropertyList^ identPropList
    ) 

    Parameters

    identPropList
    List of the properties which are identifying the matching Functions. Cannot be null.
    Exceptions
    ExceptionDescription
    Thrown when null is given as a parameter.
    Example
    The following example shows how to filter by identifying name.
    private Function[] GetSubFunctions(Function oFunction)
    {
        FunctionBasePropertyList oIdentNameProps = oFunction.IdentifyingNameParts;
        FunctionPropertyList oFilterOutMainProps = new FunctionPropertyList();
        oFilterOutMainProps.FUNC_MAINFUNCTION = false;
        DMObjectsFinder oFinder = new DMObjectsFinder(m_oProject);
        FunctionsFilter oFilter = new FunctionsFilter();
        oFilter.SetIdentifyingPropertyList(oIdentNameProps);
        oFilter.SetFilteredPropertyList(oFilterOutMainProps);
        Function[] oResult = oFinder.GetFunctions(oFilter);
        return oResult;
    }
    
    
    
    See Also