EnumerationOptions EnumerationOptions EnumerationOptions EnumerationOptions Class


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


EnumerationOptions() EnumerationOptions() EnumerationOptions() EnumerationOptions()

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


AttributesToSkip AttributesToSkip AttributesToSkip AttributesToSkip

Gets or sets the attributes to skip. The default is FileAttributes.Hidden | FileAttributes.System.

BufferSize BufferSize BufferSize BufferSize

Gets or sets the suggested buffer size, in bytes. The default is 0 (no suggestion).

IgnoreInaccessible IgnoreInaccessible IgnoreInaccessible IgnoreInaccessible

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

MatchCasing MatchCasing MatchCasing MatchCasing

Gets or sets the case matching behavior.

MatchType MatchType MatchType MatchType

Gets or sets the match type.

RecurseSubdirectories RecurseSubdirectories RecurseSubdirectories RecurseSubdirectories

Gets or sets a value that indicates whether to recurse into subdirectories while enumerating. The default is false.

ReturnSpecialDirectories ReturnSpecialDirectories ReturnSpecialDirectories ReturnSpecialDirectories

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


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to