ExportData(Project,String,String,String,String,Boolean) Method
                In This Topic
            
            Exports PLC data using the specified converter.
            
            
            Syntax
            
            
            
            
            public void ExportData( 
   Project ,
   string ,
   string ,
   string ,
   string ,
   bool 
)
             
        
            
            public:
void ExportData( 
   Project^ ,
   String^ ,
   String^ ,
   String^ ,
   String^ ,
   bool 
) 
             
        
             
        
            Parameters
- oProject
- Project which the PLC data will be exported from.
- strConfigurationProject
- The name of the PLC configuration data set to export. It must be one of the strings returned by the GetPLCConfigurationProjects function.
- strConverterID
- ID of the PLC data converter to use. The IDs of the registered PLC converters together with their full names may be obtained by calling the GetAvailableConverters method.
- strLanguage
- Language used during the export operation, e.g. de_DE, en_EN, etc.
- strOutputFileName
- Full file name of the output file. The file name should have correct extension according to the converter used.
- bOverwrite
- If the output file already exists, this parameter specifies whether it should be overwritten.
 
            Exceptions
| Exception | Description | 
|---|
| ArgumentNullException | Thrown in case of
                                        missing parameters. | 
| ArgumentException | Thrown in case of
                                    invalid arguments,
                                    e.g. the given
                                    Project does not
                                    exist or isn't
                                    valid. | 
| ApplicationException | \Internal interface
                                       for exporting PLC
                                       data could not be
                                       created. | 
| BaseException | An error occurred
                                during the export. | 
See Also