.NET Framework Class Library
Document.GetAssemblyList Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
Document.GetAssemblyList Method

Returns a list of assemblies in which the specified document is used.

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

Syntax

Visual Basic

Public Function GetAssemblyList ( _

docUid As String, _
ByRef lastAssemblyUid As String, _
ByRef number_of_assemblies As Integer, _
ByRef assemblyIdArray As Object _
) As String

C#

public string GetAssemblyList(

string docUid,
ref string lastAssemblyUid,
ref int number_of_assemblies,
ref Object assemblyIdArray
)

Visual C++

public:

String^ GetAssemblyList(
String^ docUid,
String^% lastAssemblyUid,
int% number_of_assemblies,
Object^% assemblyIdArray
)

JavaScript

function getAssemblyList(docUid, lastAssemblyUid, number_of_assemblies, assemblyIdArray);

Parameters

docUid

Type: System.String
unique id of the document to search assemblies of

lastAssemblyUid

Type: System.String
Output. The unique id of the last assembly found

number_of_assemblies

Type: System.Int32
Output. The number of assemblies found

assemblyIdArray

Type: System.Object
Ouput. The array containing the IDs of assemblies found

Return Value

The function assumes value of the last assembly found id. If no assembly has been found the function assumes an empty string value.

Remarks

See Also

Document Class

Document Members

MwPDMApi Namespace