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

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

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
msg
Type: System..::..String
displayText
Type: System..::..Boolean

Return Value

See Also