| Visual Basic | |
|---|---|
Sub AddReference3( _ ByVal lFileID As System.Integer, _ ByVal lFolderID As System.Integer, _ ByVal lQuantity As System.Integer, _ Optional ByVal bShowInBOM As System.Boolean _ ) | |
| C# | |
|---|---|
void AddReference3( System.int lFileID, System.int lFolderID, System.int lQuantity, System.bool bShowInBOM ) | |
| C++/CLI | |
|---|---|
void AddReference3( & System.int lFileID, & System.int lFolderID, & System.int lQuantity, & System.bool bShowInBOM ) | |
Parameters
- lFileID
- ID of referenced file
- lFolderID
- ID of parent folder of referenced file
- lQuantity
- Number of times the referenced file is referenced
- bShowInBOM
- True to show this file reference in the BOM, false to not
See the IEdmEnumeratorCustomReference7 examples.
- S_OK: The method successfully executed.
- E_EDM_FILE_NOT_LOCKED_BY_YOU: File is not checked out.
SOLIDWORKS PDM Professional 2017