Allows you to access custom file references.
NOTE: Click the Members link, located near the top of the topic, to see this interface's methods and properties.| Visual Basic | |
|---|---|
Public Interface IEdmEnumeratorCustomReference5 | |
| C# | |
|---|---|
public interface IEdmEnumeratorCustomReference5 | |
| C++/CLI | |
|---|---|
public interface class IEdmEnumeratorCustomReference5 | |
This interface:
- inherits from IDispatch. See IDispatch Interface (Automation).
- is extended by IEdmEnumeratorCustomReference6 which adds the ability to specify or get the number of times that a file is referenced by this file.
To use this interface:
- Get the file to which you want to add references from the vault using IEdmVault5::GetFileFromPath.
- Cast the IEdmFile5 object returned in step 1 to IEdmEnumeratorCustomReference5.
- Get a pointer to the file reference using IEdmVault5::GetFileFromPath.
- Call IEdmEnumeratorCustomReference::AddReference to add the file reference in step 3 to the file in step 1.
In the SOLIDWORKS PDM Professional user interface, you handle file references in the Contains page of the Properties dialog box. Using the API, you can perform the same file reference tasks that you do in the user interface, for example, adding, removing, and viewing file references. File references can be checked in like any other file in SOLIDWORKS PDM Professional.