Get the Directory this file is in by checking DepotPath, ClientPath and LocalPath as needed

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

Syntax

C#
public string GetDirectoryName()
Visual Basic
Public Function GetDirectoryName As String
Visual C++
public:
String^ GetDirectoryName()

Return Value

Directory name

See Also