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


lFolderID
ID of folder to which to write the card variable
lVariableID
ID of folder card variable to update
poValue
New value of the folder card variable
lEdmBatchFlags
Combination of EdmBatchFlags bits
Adds a folder card variable to the batch of variables to update.

Syntax

Visual Basic 
Sub SetFolderVar( _
   ByVal lFolderID As System.Integer, _
   ByVal lVariableID As System.Integer, _
   ByRef poValue As System.Object, _
   Optional ByVal lEdmBatchFlags As System.Integer _
) 
C# 
void SetFolderVar( 
   System.int lFolderID,
   System.int lVariableID,
   ref System.object poValue,
   System.int lEdmBatchFlags
)
C++/CLI 
void SetFolderVar( 
&   System.int lFolderID,
&   System.int lVariableID,
&   System.Object^% poValue,
&   System.int lEdmBatchFlags
) 

Parameters

lFolderID
ID of folder to which to write the card variable
lVariableID
ID of folder card variable to update
poValue
New value of the folder card variable
lEdmBatchFlags
Combination of EdmBatchFlags bits

Example

See the IEdmBatchUpdate2 examples.

Remarks

Return codes:

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

See Also

Availability

SOLIDWORKS PDM Professional Version 6.3