| Visual Basic | |
|---|---|
Sub AddFiles( _ ByVal lParentWnd As System.Integer, _ ByRef ppoFiles() As EdmAddFileInfo, _ ByVal poCallback As IEdmCallback6 _ ) | |
| C# | |
|---|---|
void AddFiles( System.int lParentWnd, out EdmAddFileInfo[] ppoFiles, IEdmCallback6 poCallback ) | |
| C++/CLI | |
|---|---|
void AddFiles( & System.int lParentWnd, & [Out] array<EdmAddFileInfo>^ ppoFiles, & IEdmCallback6^ poCallback ) | |
Parameters
- lParentWnd
- Parent window handle
- ppoFiles
- Array of EdmAddFileInfo structures; one structure for each added file
- poCallback
- Optional pointer to a class that implements IEdmCallback6 to control this add operation and obtain progress information about it
This method is more efficient than IEdmFolder5::AddFile when adding many files.
Before calling this method, call IFolder12::SetFileNameSerNo for each new file to specify how to create the name of the new file's data card.
- S_OK: The method successfully executed.
- E_EDM_END_OF_SN_FILE: The operation needs to generate serial numbers from a file but the end of the file has been reached.
- E_EDM_SN_FILE_NOT_FOUND: The operation needs to generate serial numbers from a file that cannot be found.
- E_EDM_CANCELLED_BY_USER: The operation was cancelled via the optional callback interface.
SOLIDWORKS PDM Professional Version 6.0