ExclusionFilters Enum

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.

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

产品 版本
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)