FileTypeFilterAttribute(String, String, String[]) Constructor

Initializes a new instance of the FileTypeFilterAttribute.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.Persistent.Base.v18.1.dll

Syntax

public FileTypeFilterAttribute(
    string filterID,
    string filterCaption,
    params string[] extensions
)

Parameters

Type Name Description
String filterID

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

String filterCaption

A string specifying the file type filter description. This parameter's value is assigned to the FileTypeFilterAttribute.FilterCaption property.

String[] extensions

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