P4Command Constructor (P4Server, String, P4ServerPromptHandlerDelegate, Boolean, String)
|
Constructor
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntaxpublic P4Command(
P4Server server,
string command,
P4ServerPromptHandlerDelegate promptHandler,
bool taggedOutput,
params string[] arguments
)
Public Sub New (
server As P4Server,
command As String,
promptHandler As P4ServerPromptHandlerDelegate,
taggedOutput As Boolean,
ParamArray arguments As String()
)
public:
P4Command(
P4Server^ server,
String^ command,
P4ServerPromptHandlerDelegate^ promptHandler,
bool taggedOutput,
... array<String^>^ arguments
)
new :
server : P4Server *
command : string *
promptHandler : P4ServerPromptHandlerDelegate *
taggedOutput : bool *
arguments : string[] -> P4Command
Parameters
- server
- Type: Perforce.P4P4Server
Target P4Server - command
- Type: SystemString
Command String i.e 'submit' - promptHandler
- Type: Perforce.P4P4ServerPromptHandlerDelegate
Handler function - taggedOutput
- Type: SystemBoolean
Run in tagged protocol - arguments
- Type: SystemString
Arguments for the command
See Also