.NET Framework Class Library
CADSystem.ReplaceReferencedDocument Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > CADSystem Class > CADSystem Methods > .NET Framework Class Library |
Replace references in document.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub ReplaceReferencedDocument ( _ referencingDoc As String, _ |
C# |
|---|
public void ReplaceReferencedDocument( string referencingDoc, |
Visual C++ |
|---|
public: void ReplaceReferencedDocument( |
JavaScript |
|---|
function replaceReferencedDocument(referencingDoc, referencedDoc, newReference); |
Parameters
referencingDoc
Type: System.String
file whose references will be modified
referencedDoc
Type: System.String
file referenced by the ReferencingDoc. All of its references within the referencingDoc will be replaced by newReference
newReference
Type: System.String
new document used by ReferencingDoc
Remarks
All the arguments are case sensitive. The referencedDoc and newReference must be of the same type (changing a P reference with an A reference is not allowed).
See Also