public bool ImportData( Project pProject, string strFileName, string strScheme, string strAdditionalParameter, bool bSkipHeader, PlanningSegment pSegmentPlanning, bool bIgnoreErrors, bool bOverwrite, bool bUpdateOnly )
public: bool ImportData( Project^ pProject, String^ strFileName, String^ strScheme, String^ strAdditionalParameter, bool bSkipHeader, PlanningSegment^ pSegmentPlanning, bool bIgnoreErrors, bool bOverwrite, bool bUpdateOnly )
Parameters
- pProject
- Project to which file will be imported. Can't be null.
- strFileName
- Full file name of source file. Can't be nullorempty.
- strScheme
- Name of the scheme that defines the assignment of the external data fields to the EPLAN properties. Can't be nullorempty.
- strAdditionalParameter
- Additional parameter used by import routine.
- bSkipHeader
- If truethen column names from the data table are output in theExternal fieldUsed only for import from excel file.
- pSegmentPlanning
- Object below which the imported data are to be inserted. If nullthen data are inserted under project.
- bIgnoreErrors
- If truethe import will not be aborted because of errors and messages that occur.
- bOverwrite
- If truethen existing planning objects will be overwritten with the data from the planning objects of the same name from the import file. Iffalsethen existing planning objects remain unchanged.
- bUpdateOnly
- If truethen only data of existing structure segments and planning objects will be updated.
Return Value
Returns 
true if import is successful.