Click or drag to resize

P4MapApiTranslate Method

Translate a file path from on side of the mapping to the other

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.255.3501
Syntax
public string Translate(
	string path,
	P4MapApiDirection direction
)

Parameters

path
Type: SystemString
The path to translate
direction
Type: Perforce.P4P4MapApiDirection
The direction to perform the translation L->R or R->L

Return Value

Type: String
Translated path, Null if no translation (path is not mapped)
See Also