PathGetSuffixedDirectoryName Method (String) |
[AlphaFS] Returns the directory information for the specified
path with a trailing
DirectorySeparatorChar character.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string GetSuffixedDirectoryName(
string path
)
Public Shared Function GetSuffixedDirectoryName (
path As String
) As String
public:
static String^ GetSuffixedDirectoryName(
String^ path
)
static member GetSuffixedDirectoryName :
path : string -> string
Parameters
- path
- Type: SystemString
The path.
Return Value
Type:
StringThe suffixed directory information for the specified path with a trailing DirectorySeparatorChar character,
or if path is or if path denotes a root (such as "\", "C:", or * "\\server\share").
Remarks This method is similar to calling Path.GetDirectoryName() + Path.AddTrailingDirectorySeparator()
See Also