.NET Framework Class Library
Database.AddToParent Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > Database Class > Database Methods > .NET Framework Class Library |
Adds a child relationship between a parent document and a child document. The child index value is meaningful for the ordering in the bill of materials of the parent, and may be omitted ( in which case a 0 value will be used as default )
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub AddToParent ( _ docUid As String, _ |
C# |
|---|
public void AddToParent( string docUid, |
Visual C++ |
|---|
public: void AddToParent( |
JavaScript |
|---|
function addToParent(docUid, parentUid, positionNumber); |
Parameters
docUid
Type: System.String
unique id of the new child document
parentUid
Type: System.String
unique id of the document of which the child is added to.
positionNumber (Optional)
Type: System.Int32
Optional. The position representing the order this document assumes in the BOM, it does not affect the tree order
Remarks
See Also