Translate a file path from on side of the mapping to the other
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)
Syntax
C# |
---|
public string Translate( string path, P4MapApi..::..Direction direction ) |
Visual Basic |
---|
Public Function Translate ( _ path As String, _ direction As P4MapApi..::..Direction _ ) As String |
Visual C++ |
---|
public: String^ Translate( String^ path, P4MapApi..::..Direction direction ) |
Parameters
- path
- Type: System..::..String
The path to translate
- direction
- Type: Perforce.P4..::..P4MapApi..::..Direction
The direction to perform the translation L->R or R->L