Create a P4Command that can be run on the connection

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)

Syntax

C#
public P4Command CreateCommand(
	string cmd,
	bool tagged,
	params string[] args
)
Visual Basic
Public Function CreateCommand ( _
	cmd As String, _
	tagged As Boolean, _
	ParamArray args As String() _
) As P4Command
Visual C++
public:
P4Command^ CreateCommand(
	String^ cmd, 
	bool tagged, 
	... array<String^>^ args
)

Parameters

cmd
Type: System..::..String
Command name, i.e. 'sync'
tagged
Type: System..::..Boolean
Flag to create tggged output
args
Type: array<System..::..String>[]()[][]
The arguments for the command

Return Value

See Also