FileSystemEnumerable<TResult> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the FileSystemEnumerable<TResult> class with specific search and filtering options.
public FileSystemEnumerable (string directory, System.IO.Enumeration.FileSystemEnumerable<TResult>.FindTransform transform, System.IO.EnumerationOptions? options = default);
public FileSystemEnumerable (string directory, System.IO.Enumeration.FileSystemEnumerable<TResult>.FindTransform transform, System.IO.EnumerationOptions options = default);
new System.IO.Enumeration.FileSystemEnumerable<'Result> : string * System.IO.Enumeration.FileSystemEnumerable<'Result>.FindTransform * System.IO.EnumerationOptions -> System.IO.Enumeration.FileSystemEnumerable<'Result>
Public Sub New (directory As String, transform As FileSystemEnumerable(Of TResult).FindTransform, Optional options As EnumerationOptions = Nothing)
Parameters
- directory
- String
The path of the directory where the enumeration will be performed.
A delegate method for transforming raw find data into a result.
- options
- EnumerationOptions
An object describing the enumeration options.
Exceptions
directory
or transform
is null
.
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.