| Visual Basic | |
|---|---|
Sub AddFolder( _ ByVal lParentFolderID As System.Integer, _ ByVal bsRelativePath As System.String, _ ByVal lParam As System.Integer, _ Optional ByVal lEdmBatchAddFolderFlags As System.Integer, _ Optional ByVal poData As EdmFolderData, _ Optional ByVal lSourceFolderID As System.Integer _ ) | |
| C# | |
|---|---|
void AddFolder( System.int lParentFolderID, System.string bsRelativePath, System.int lParam, System.int lEdmBatchAddFolderFlags, EdmFolderData poData, System.int lSourceFolderID ) | |
| C++/CLI | |
|---|---|
void AddFolder( & System.int lParentFolderID, & System.String^ bsRelativePath, & System.int lParam, & System.int lEdmBatchAddFolderFlags, & EdmFolderData^ poData, & System.int lSourceFolderID ) | |
Parameters
- lParentFolderID
- ID of parent folder to which to add the folders
- bsRelativePath
- Name of folder or relative path of new folder
- lParam
- Caller-defined value
- lEdmBatchAddFolderFlags
- Combination of EdmBatchAddFolderFlag bits
- poData
- Optional IEdmFolderData5 permission settings and card layouts are copied to the added folders
- lSourceFolderID
- Optional ID of folder to copy; if not 0, permission settings and card layouts from the source folder with this lSourceFolderID are copied to the added folders
See the IEdmBatchAddFolders examples.
After calling this method, you must call IEdmBatchAddFolders::Create to actually add the folder to the vault.
- S_OK: The method successfully executed.
- E_EDM_INVALID_NAME: The folder name contained invalid characters.
Version 6.3 of SOLIDWORKS PDM Professional