.NET Framework Class Library
DataForm.GetFieldValue Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
DataForm.GetFieldValue Method

Retrieves value of specific fieldName in the opened DataForm.

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

Syntax

Visual Basic

Public Function GetFieldValue ( _

fieldName As String, _
ByRef fieldValue As String _
) As ShellResult

C#

public ShellResult GetFieldValue(

string fieldName,
ref string fieldValue
)

Visual C++

public:

ShellResult^ GetFieldValue(
String^ fieldName,
String^% fieldValue
)

JavaScript

function getFieldValue(fieldName, fieldValue);

Parameters

fieldName

Type: System.String
name of the field of which find value

fieldValue

Type: System.String
Output. The computed value

Return Value

result object to access additional information ("@FIELD_VALUE", "@FIELD_TYPE", "@FIELD_ENABLED", "@FIELD_READONLY"...)

Remarks

See Also

DataForm Class

DataForm Members

MwPDMApi Namespace