PathGetDirectoryNameWithoutRootTransacted Method |
[AlphaFS] Returns the directory information for the specified path string without the root information, for example: "C:\Windows\system32" returns: "Windows".
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static string GetDirectoryNameWithoutRootTransacted(
KernelTransaction transaction,
string path
)
Public Shared Function GetDirectoryNameWithoutRootTransacted (
transaction As KernelTransaction,
path As String
) As String
public:
static String^ GetDirectoryNameWithoutRootTransacted(
KernelTransaction^ transaction,
String^ path
)
static member GetDirectoryNameWithoutRootTransacted :
transaction : KernelTransaction *
path : string -> string
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The path.
Return Value
Type:
StringThe
pathwithout the file name part and without the root information (if any), or
if
path is
or if
path denotes a root (such as "\", "C:", or * "\\server\share").
See Also