| Visual Basic | |
|---|---|
Sub AddFolder( _ ByVal lParentFolderID As System.Integer, _ ByVal bsRelativePath As System.String, _ ByVal lArg 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 lArg, System.int lEdmBatchAddFolderFlags, EdmFolderData poData, System.int lSourceFolderID ) | |
| C++/CLI | |
|---|---|
void AddFolder( & System.int lParentFolderID, & System.String^ bsRelativePath, & System.int lArg, & 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
- lArg
- Caller-defined argument
- lEdmBatchAddFolderFlags
- Combination of EdmBatchAddFolderFlag bits
- poData
- Optional IEdmFolderData5; extra information about the folder to create
- lSourceFolderID
- Optional ID of source folder from which to copy properties from
See the IEdmBatchAdd examples.
Before calling this method, use IEdmBatchAdd::SetFileNameSerNo to specify how to create the name for the new file's data card.
After calling this method, you must call IEdmBatchAdd::CommitAdd to actually add the file to the vault.
- S_OK: The method successfully executed.
- S_FALSE: One of the arguments is invalid.
Version 6.4 of SOLIDWORKS PDM Professional