Επεξεργασία

Κοινή χρήση μέσω


EnumerationOptions Class

Definition

Provides file and directory enumeration options.

public ref class EnumerationOptions
public class EnumerationOptions
type EnumerationOptions = class
Public Class EnumerationOptions
Inheritance
EnumerationOptions

Constructors

EnumerationOptions()

Initializes a new instance of the EnumerationOptions class with the recommended default options.

Properties

AttributesToSkip

Gets or sets the attributes to skip.

BufferSize

Gets or sets the suggested buffer size, in bytes.

IgnoreInaccessible

Gets or sets a value that indicates whether to skip files or directories when access is denied (for example, UnauthorizedAccessException or SecurityException).

MatchCasing

Gets or sets the case-matching behavior.

MatchType

Gets or sets the match type.

MaxRecursionDepth

Gets or sets a value that indicates the maximum directory depth to recurse while enumerating, when RecurseSubdirectories is set to true.

RecurseSubdirectories

Gets or sets a value that indicates whether to recurse into subdirectories while enumerating.

ReturnSpecialDirectories

Gets or sets a value that indicates whether to return the special directory entries "." and "..".

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to