Click or drag to resize

DirectoryGetParentTransacted Method (KernelTransaction, String, PathFormat)

Retrieves the parent directory of the specified path, including both absolute and relative paths.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static DirectoryInfo GetParentTransacted(
	KernelTransaction transaction,
	string path,
	PathFormat pathFormat
)

Parameters

transaction
Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction.
path
Type: SystemString
The path for which to retrieve the parent directory.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).

Return Value

Type: DirectoryInfo
The parent directory, or if path is the root directory, including the root of a UNC server or share name.
See Also