.NET Framework Class Library
PDMSystem.GetTokenFromFile Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
PDMSystem.GetTokenFromFile Method

Returns the value of corresponding fieldName in the specified document file (fileName).

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

Syntax

Visual Basic

Public Function GetTokenFromFile ( _

fileName As String, _
fieldName As String _
) As String

C#

public string GetTokenFromFile(

string fileName,
string fieldName
)

Visual C++

public:

String^ GetTokenFromFile(
String^ fileName,
String^ fieldName
)

JavaScript

function getTokenFromFile(fileName, fieldName);

Parameters

fileName

Type: System.String
document file name

fieldName

Type: System.String
name of the field to retrieve value of

Return Value

string value related to given field name

Remarks

See Also

PDMSystem Class

PDMSystem Members

MwPDMApi Namespace