SOLIDWORKS PDM Professional API Help Send Feedback
AddFolder Method (IEdmBatchListing)
See Also 
EPDM.Interop.epdm Namespace > IEdmBatchListing Interface : AddFolder Method (IEdmBatchListing)


oIdOrPath
ID of folder to add; path is not supported in SOLIDWORKS PDM 2010
lParam
Caller-defined argument
lEdmListFolderFlags
Only EdmListFiolderFlags.EdmListFolder_Recursive is supported
Adds a folder to the batch of folders for which to create a listing.

Syntax

Visual Basic 
Sub AddFolder( _
   ByVal oIdOrPath As System.Object, _
   ByVal lParam As System.Integer, _
   Optional ByVal lEdmListFolderFlags As System.Integer _
) 
C# 
void AddFolder( 
   System.object oIdOrPath,
   System.int lParam,
   System.int lEdmListFolderFlags
)
C++/CLI 
void AddFolder( 
&   System.Object^ oIdOrPath,
&   System.int lParam,
&   System.int lEdmListFolderFlags
) 

Parameters

oIdOrPath
ID of folder to add; path is not supported in SOLIDWORKS PDM 2010
lParam
Caller-defined argument
lEdmListFolderFlags
Only EdmListFiolderFlags.EdmListFolder_Recursive is supported

Remarks

After calling this method for each folder whose properties you want to list, call IEdmBatchListing::CreateList to create a listing of all the folders' properties.

Return codes:

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

See Also

Availability

SOLIDWORKS PDM 2010