DirectoryEnumerateFileIdBothDirectoryInfoTransacted Method (KernelTransaction, String, FileShare, PathFormat) |
[AlphaFS] Retrieves information about files in the directory specified by
path in specified
FileShare mode.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static IEnumerable<FileIdBothDirectoryInfo> EnumerateFileIdBothDirectoryInfoTransacted(
KernelTransaction transaction,
string path,
FileShare shareMode,
PathFormat pathFormat
)
Public Shared Function EnumerateFileIdBothDirectoryInfoTransacted (
transaction As KernelTransaction,
path As String,
shareMode As FileShare,
pathFormat As PathFormat
) As IEnumerable(Of FileIdBothDirectoryInfo)
public:
static IEnumerable<FileIdBothDirectoryInfo^>^ EnumerateFileIdBothDirectoryInfoTransacted(
KernelTransaction^ transaction,
String^ path,
FileShare shareMode,
PathFormat pathFormat
)
static member EnumerateFileIdBothDirectoryInfoTransacted :
transaction : KernelTransaction *
path : string *
shareMode : FileShare *
pathFormat : PathFormat -> IEnumerable<FileIdBothDirectoryInfo>
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
A path to a directory from which to retrieve information. - shareMode
- Type: System.IOFileShare
The FileShare mode with which to open a handle to the directory. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
IEnumerableFileIdBothDirectoryInfoAn enumeration of
FileIdBothDirectoryInfo records for each file system entry in the specified diretory.
See Also