ConnectionCreateCommand Method
|
Create a P4Command that can be run on the connection
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntax public P4Command CreateCommand(
string cmd,
bool tagged,
params string[] args
)
Public Function CreateCommand (
cmd As String,
tagged As Boolean,
ParamArray args As String()
) As P4Command
public:
P4Command^ CreateCommand(
String^ cmd,
bool tagged,
... array<String^>^ args
)
member CreateCommand :
cmd : string *
tagged : bool *
args : string[] -> P4Command
Parameters
- cmd
- Type: SystemString
Command name, i.e. 'sync' - tagged
- Type: SystemBoolean
Flag to create tggged output - args
- Type: SystemString
The arguments for the command
Return Value
Type:
P4CommandSee Also