.NET Framework Class Library
DataForm.SetFieldValue Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
DataForm.SetFieldValue Method

Set 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 Sub SetFieldValue ( _

fieldName As String, _
fieldValue As String _
)

C#

public void SetFieldValue(

string fieldName,
string fieldValue
)

Visual C++

public:

void SetFieldValue(
String^ fieldName,
String^ fieldValue
)

JavaScript

function setFieldValue(fieldName, fieldValue);

Parameters

fieldName

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

fieldValue

Type: System.String
new value

Remarks

See Also

DataForm Class

DataForm Members

MwPDMApi Namespace