.NET Framework Class Library
BOM.IsFakeDocument Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
BOM.IsFakeDocument Method

Programmatically check if the document with the specific record’s UNIQUE_ID is a FAKE component depending on the PARENT assembly

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

Syntax

Visual Basic

Public Function IsFakeDocument ( _

uid As String, _
Optional parentuid As String = "" _
) As Boolean

C#

public bool IsFakeDocument(

string uid,
string parentuid = ""
)

Visual C++

public:

bool IsFakeDocument(
String^ uid,
String^ parentuid = L""
)

JavaScript

function isFakeDocument(uid, parentuid);

Parameters

uid

Type: System.String
Document unique id.

parentuid (Optional)

Type: System.String
Optional. Parent assembly unique id. Default value is "" (checks on all possible parents).

Return Value

TRUE if the document is a fake component, FALSE otherwise

Remarks

Available starting from R17 release.

See Also

BOM Class

BOM Members

MwPDMApi Namespace