.NET Framework Class Library
Revision.GetNextRevisionLabel Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
Revision.GetNextRevisionLabel Method

This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Retrieves the next revision label based on the provided name and revision array.

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

Syntax

Visual Basic

Public Function GetNextRevisionLabel ( _

name As String, _
RevisionArray As Object() _
) As String

C#

public string GetNextRevisionLabel(

string name,
Object[] RevisionArray
)

Visual C++

public:

String^ GetNextRevisionLabel(
String^ name,
array<Object^>^ RevisionArray
)

JavaScript

function getNextRevisionLabel(name, RevisionArray);

Parameters

name

Type: System.String
The current revision label.

RevisionArray

Type: System.Object[]
The array of available revision labels.

Return Value

The next revision label if found; otherwise, an empty string.

Remarks

See Also

Revision Class

Revision Members

MwPDMApi Namespace