SOLIDWORKS PDM Professional API Help Send Feedback
IEdmBatchAddFolders Interface
See Also  Members   Example
EPDM.Interop.epdm Namespace : IEdmBatchAddFolders Interface


Allows you to add several folders to the vault all at once.


NOTE: Click the Members link, located near the top of the topic, to see this interface's methods and properties.

Syntax

Visual Basic 
Public Interface IEdmBatchAddFolders 
C# 
public interface IEdmBatchAddFolders 
C++/CLI 
public interface class IEdmBatchAddFolders 

Example

Remarks

This interface inherits from IDispatch. See IDispatch Interface (Automation).

To add several folders to the vault in one batch:

  1. Access this interface by calling IEdmVault7::CreateUtility, passing EdmUtility.EdmUtil_BatchAddFolders as a parameter.
  2. Call IEdmBatchAddFolders::AddFolder once for each folder to add to the batch.
  3. Call IEdmBatchAddFolders::Create to commit the folders in the batch to the vault.

Using IEdmBatchAddFolders is more efficient than calling IEdmFolder5::AddFolder or IEdmFolder5::CreateFolderPath multiple times.

Use IEdmBatchAdd if you need to add several files and folders to the vault.

Accessors

See Also