.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

FileTypeFilterAttribute(String, String[]) Constructor

Initializes a new instance of the FileTypeFilterAttribute.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.Persistent.Base.v21.2.dll


public FileTypeFilterAttribute(
    string filterID,
    params string[] extensions


Name Type Description
filterID String

A string specifying the file type filter identifier. This parameter’s value is assigned to the FileTypeFilterAttribute.FilterID property.

extensions String[]

A variable number of strings that specify the type filter’s file extensions. These extensions can be retrieved via the FileTypeFilterAttribute.GetExtensions method.

See Also