ExportParts(String,DataFormat,IEnumerable<MDPart>) Method
In This Topic
Exports specified parts from the system's parts database.
Syntax
Parameters
- strFilePath
- Full output file name. This parameter must not be NULL and must not be an empty string ("").
- dataFormat
- Format type of export (XML or EDZ).
- parts
- List of parts to be exported. This parameter must not be NULL and must not be an empty list.
Exceptions
| Exception | Description |
| System.ArgumentNullException | Thrown if the strFilePath parameter is NULL or if the parts parameter is NULL. |
| System.ArgumentException | Thrown in the following cases:
1.) The strFilePath parameter is an empty string ("").
2.) The directory specified in the strFilePath parameter does not exist.
3.) The parts parameter is an empty list. |
See Also