.NET Framework Class Library
Document.GetDocState Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
Document.GetDocState Method

Retrieve the current document state and its revision.

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

Syntax

Visual Basic

Public Function GetDocState ( _

docUId As String, _
ByRef revision As String _
) As String

C#

public string GetDocState(

string docUId,
ref string revision
)

Visual C++

public:

String^ GetDocState(
String^ docUId,
String^% revision
)

JavaScript

function getDocState(docUId, revision);

Parameters

docUId

Type: System.String
document unique id

revision

Type: System.String
Output. The current revision of the document

Return Value

The function assumes the current state of the document.

Remarks

See Also

Document Class

Document Members

MwPDMApi Namespace