.NET Framework Class Library
Revision.ReleaseIsPreRelease Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Revision Class > Revision Methods >

.NET Framework Class Library
Revision.ReleaseIsPreRelease Method

Determines whether the given revision is a pre-release based on the global revision phase settings and the provided revision string.

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

Syntax

Visual Basic

Public Function ReleaseIsPreRelease ( _

 lastRevision As String _
As Boolean

C#

public bool ReleaseIsPreRelease(

 string lastRevision
)

Visual C++

public:

bool ReleaseIsPreRelease(
 StringlastRevision
)

JavaScript

function releaseIsPreRelease(lastRevision);

Parameters

lastRevision

Type: System.String
The revision string to evaluate.

Return Value

True if the revision is identified as a pre-release; otherwise, False.

Remarks

The function checks if the global revision phase A is enabled and verifies if the provided revision exists in the pre-release revision list (GlobaleRevPhaseAarray). It also considers the presence of the global revision separator for additional validation.

See Also

Revision Class

Revision Members

MwPDMApi Namespace