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


lRootFile
ID of file to which to add file references
ppoReferences
Array of paths to reference files
plQuantity
Array of times that the files in ppoReferences are referenced in lRootFile
Adds file references by file system path and quantity.

Syntax

Visual Basic 
Sub AddReferencesPath2( _
   ByVal lRootFile As System.Integer, _
   ByRef ppoReferences() As System.String, _
   ByRef plQuantity() As System.Integer _
) 
C# 
void AddReferencesPath2( 
   System.int lRootFile,
   ref System.string[] ppoReferences,
   ref System.int[] plQuantity
)
C++/CLI 
void AddReferencesPath2( 
&   System.int lRootFile,
&   System.array<String^>^% ppoReferences,
&   System.array<int>^% plQuantity
) 

Parameters

lRootFile
ID of file to which to add file references
ppoReferences
Array of paths to reference files
plQuantity
Array of times that the files in ppoReferences are referenced in lRootFile

Remarks

This method supersedes IEdmAddCustomRefs::AddReferencesPath, which adds reference files only by file system path.

Return codes:

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

See Also

Availability

Version 2013 of SOLIDWORKS PDM Professional