.NET Framework Class Library
Commands.CommandShell Method (MWCmd.Document, Object[])

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Commands Class > Commands Methods > CommandShell Method  >

.NET Framework Class Library
Commands.CommandShell Method (MWCmd.Document, Object[])

Execute a MwPDM Document 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 MWCmd.Document, _
 ParamArray args As Object() _
As ShellResult

C#

public ShellResult CommandShell(

 MWCmd.Document cmd,
 params Object[] args
)

Visual C++

public:

ShellResultCommandShell(
 MWCmd.Document cmd,
 ... array<Object^>^ args
)

JavaScript

function commandShell(cmd, ... args);

Parameters

cmd

Type: MwPDMApi.MWCmd.Document
Document command identifier

args

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

Return Value

Shell result object

Remarks

See Also

Commands Class

Commands Members

CommandShell Overload

MwPDMApi Namespace