DirectoryGetDirectoryRoot Method (KernelTransaction, String) |
[AlphaFS] Returns the volume information, root information, or both for the specified path.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string GetDirectoryRoot(
KernelTransaction transaction,
string path
)
Public Shared Function GetDirectoryRoot (
transaction As KernelTransaction,
path As String
) As String
public:
static String^ GetDirectoryRoot(
KernelTransaction^ transaction,
String^ path
)
static member GetDirectoryRoot :
transaction : KernelTransaction *
path : string -> string
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The path of a file or directory.
Return Value
Type:
StringThe volume information, root information, or both for the specified path, or
if
path path does not contain root directory information.
See Also