.NET Framework Class Library
Application.CommandShell Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
Application.CommandShell Method

Execute a MwPDM command.

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

Syntax

Visual Basic

Public Function CommandShell ( _

cmd As String, _
ParamArray args As Object() _
) As ShellResult

C#

public ShellResult CommandShell(

string cmd,
params Object[] args
)

Visual C++

public:

ShellResult^ CommandShell(
String^ cmd,
... array<Object^>^ args
)

JavaScript

function commandShell(cmd, ... args);

Parameters

cmd

Type: System.String
string command to be executed

args

Type: System.Object[]
variable number of parameters, used as parameters for the required command.

Return Value

Shell result object

Remarks

See Also

Application Class

Application Members

MwPDMApi Namespace