Skip to main content
.NET 6.0+

FileTypeFilterAttribute(String, Int32, String[]) Constructor

Initializes a new instance of the FileTypeFilterAttribute.

Namespace: DevExpress.Persistent.Base

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

Declaration

public FileTypeFilterAttribute(
    string filterID,
    int index,
    params string[] extensions
)

Parameters

Name Type Description
filterID String

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

index Int32

An integer value specifying the index of the file type filter. This index allows you to arrange the type filters in the required order, when multiple FileTypeFilter attributes are applied.

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