DirectoryEnumerateFileIdBothDirectoryInfo Method (String, FileShare) |
[AlphaFS] Retrieves information about files in the directory specified by
path in specified
FileShare mode.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static IEnumerable<FileIdBothDirectoryInfo> EnumerateFileIdBothDirectoryInfo(
string path,
FileShare shareMode
)
Public Shared Function EnumerateFileIdBothDirectoryInfo (
path As String,
shareMode As FileShare
) As IEnumerable(Of FileIdBothDirectoryInfo)
public:
static IEnumerable<FileIdBothDirectoryInfo^>^ EnumerateFileIdBothDirectoryInfo(
String^ path,
FileShare shareMode
)
static member EnumerateFileIdBothDirectoryInfo :
path : string *
shareMode : FileShare -> IEnumerable<FileIdBothDirectoryInfo>
Parameters
- 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.
Return Value
Type:
IEnumerableFileIdBothDirectoryInfoAn enumeration of
FileIdBothDirectoryInfo records for each file system entry in the specified diretory.
See Also