Translate a file path from on side of the mapping to the other
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntaxpublic 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