Delegate used to provide a custom handler for input prompts from the p4api.

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

Syntax

C#
public delegate string PromptHandlerDelegate(
	uint cmdId,
	string msg,
	bool displayText
)
Visual Basic
Public Delegate Function PromptHandlerDelegate ( _
	cmdId As UInteger, _
	msg As String, _
	displayText As Boolean _
) As String
Visual C++
public delegate String^ PromptHandlerDelegate(
	unsigned int cmdId, 
	String^ msg, 
	bool displayText
)

Parameters

cmdId
Type: System..::..UInt32
Unique Id for the run of the command
msg
Type: System..::..String
displayText
Type: System..::..Boolean

Return Value

See Also