.NET Framework Class Library
Document.GetDocProjectsList Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
Document.GetDocProjectsList Method

Returns an array of projects that a document belongs to.

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

Syntax

Visual Basic

Public Function GetDocProjectsList ( _

docUid As Integer, _
ByRef lastProjectUid As Integer _
) As List(Of String)

C#

public List<string> GetDocProjectsList(

int docUid,
ref int lastProjectUid
)

Visual C++

public:

List<String^>^ GetDocProjectsList(
int docUid,
int% lastProjectUid
)

JavaScript

function getDocProjectsList(docUid, lastProjectUid);

Parameters

docUid

Type: System.Int32
Document unique id

lastProjectUid

Type: System.Int32
Output. The unique id of the project; in case of more than one project returned it contains the last one

Return Value

A list with the ids of the projects found.

See Also

Document Class

Document Members

MwPDMApi Namespace