.NET Framework Class Library
Options.GetOptionByName Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
Options.GetOptionByName Method

Get option value

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

Syntax

Visual Basic

Public Function GetOptionByName ( _

optionName As String _
) As String

C#

public string GetOptionByName(

string optionName
)

Visual C++

public:

String^ GetOptionByName(
String^ optionName
)

JavaScript

function getOptionByName(optionName);

Parameters

optionName

Type: System.String
option name

Return Value

The function assumes the current value for the given option

Remarks

Scripting compatibility

See Also

Options Class

Options Members

MwPDMApi Namespace