PathGetSuffixedDirectoryNameTransacted Method |
[AlphaFS] Returns the directory information for the specified
path with a trailing
DirectorySeparatorChar character.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string GetSuffixedDirectoryNameTransacted(
KernelTransaction transaction,
string path
)
Public Shared Function GetSuffixedDirectoryNameTransacted (
transaction As KernelTransaction,
path As String
) As String
public:
static String^ GetSuffixedDirectoryNameTransacted(
KernelTransaction^ transaction,
String^ path
)
static member GetSuffixedDirectoryNameTransacted :
transaction : KernelTransaction *
path : string -> string
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - 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