ExclusionFilters Enum

Definition

Specifies filtering behavior for files or directories.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum ExclusionFilters
Inheritance
ExclusionFilters
Attributes

Fields

Name Value Description
None 0

Do not exclude any files.

DotPrefixed 1

Exclude files and directories when the name begins with period.

Hidden 2

Exclude files and directories when Hidden is set on Attributes.

System 4

Exclude files and directories when System is set on Attributes.

Sensitive 7

Equivalent to DotPrefixed | Hidden | System. Exclude files and directories when the name begins with a period, or has either Hidden or System is set on Attributes.

Applies to

Produk Versi
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)