| Visual Basic | |
|---|---|
Sub AddFolderPath( _ ByVal bsLocalPath 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 AddFolderPath( System.string bsLocalPath, System.int lArg, System.int lEdmBatchAddFolderFlags, EdmFolderData poData, System.int lSourceFolderID ) | |
| C++/CLI | |
|---|---|
void AddFolderPath( & System.String^ bsLocalPath, & System.int lArg, & System.int lEdmBatchAddFolderFlags, & EdmFolderData^ poData, & System.int lSourceFolderID ) | |
Parameters
- bsLocalPath
- File system path to folder to create; path leads in to the file vault; all folders missing in the path are created
- 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
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