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
)
Public Function Translate (
path As String,
direction As P4MapApiDirection
) As String
public:
String^ Translate(
String^ path,
P4MapApiDirection direction
)
member Translate :
path : string *
direction : P4MapApiDirection -> string
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:
StringTranslated path, Null if no translation (path is not mapped)
See Also