Escape a string path Escapes the Perforce Special characters * # @ and %

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

Syntax

C#
public static string EscapePath(
	string p
)
Visual Basic
Public Shared Function EscapePath ( _
	p As String _
) As String
Visual C++
public:
static String^ EscapePath(
	String^ p
)

Parameters

p
Type: System..::..String
Path to escape

Return Value

escaped path

See Also