<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
AddFolderPath Method (IEdmBatchAdd)
See Also

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace > IEdmBatchAdd Interface : AddFolderPath Method (IEdmBatchAdd)

Visual Basic
C#
C++/CLI

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

Adds the specified folder path to the batch of folders to be added to the vault.

# Syntax

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

# Example

See the IEdmBatchAdd examples.

# Remarks

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.

Return codes:

- S_OK: The method successfully executed.
- S_FALSE: One of the arguments is invalid.

# See Also

####

IEdmBatchAdd Interface
IEdmBatchAdd Members

# Availability

Version 6.4 of SOLIDWORKS PDM Professional