.NET Framework Class Library
Database.ComposedOf Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > Database Class > Database Methods >

.NET Framework Class Library
Database.ComposedOf Method

Returns component documents of a specified one.

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

Syntax

Visual Basic

Public Function ComposedOf ( _

docUid As String, _
composedOfType As DocType, _
ByRef lastDocUid As String, _
ByRef number_of_Doc As Integer, _
ByRef docsUidIdArray As Object _
) As String

C#

public string ComposedOf(

string docUid,
DocType composedOfType,
ref string lastDocUid,
ref int number_of_Doc,
ref Object docsUidIdArray
)

Visual C++

public:

String^ ComposedOf(
String^ docUid,
DocType composedOfType,
String^% lastDocUid,
int% number_of_Doc,
Object^% docsUidIdArray
)

JavaScript

function composedOf(docUid, composedOfType, lastDocUid, number_of_Doc, docsUidIdArray);

Parameters

docUid

Type: System.String
document to search components about

composedOfType

Type: MwPDMApi.DocType
a filter to select only a certain type of document among componing documents

lastDocUid

Type: System.String
Output. uid of the last componing document found

number_of_Doc

Type: System.Int32
Output. Number of componing document.

docsUidIdArray

Type: System.Object
Output. Array containing componing documents unique ids.

Return Value

the values of the last (if more than one) document id found.

Remarks

See Also

Database Class

Database Members

MwPDMApi Namespace