.NET Framework Class Library
Database.RemoveFromParent Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Database Class > Database Methods >

.NET Framework Class Library
Database.RemoveFromParent Method

Deletes the child relationship of the document with unique identifier child_unique_id from the document with unique identifier parent_unique_id.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub RemoveFromParent ( _

 childUid As Integer, _
 parentUid As Integer _
)

C#

public void RemoveFromParent(

 int childUid,
 int parentUid
)

Visual C++

public:

void RemoveFromParent(
 int childUid,
 int parentUid
)

JavaScript

function removeFromParent(childUidparentUid);

Parameters

childUid

Type: System.Int32
The unique id of the child document to delete.

parentUid

Type: System.Int32
The unique id of the parent document from which a child is deleted.

See Also

Database Class

Database Members

MwPDMApi Namespace