.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

FileTypeFilterAttribute(String, String, String[]) Constructor

Initializes a new instance of the FileTypeFilterAttribute.

Namespace: DevExpress.Persistent.Base

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

Declaration

public FileTypeFilterAttribute(
    string filterID,
    string filterCaption,
    params string[] extensions
)
Public Sub New(
    filterID As String,
    filterCaption As String,
    ParamArray extensions As String()
)
public FileTypeFilterAttribute(
    string filterID,
    string filterCaption,
    params string[] extensions
)
Public Sub New(
    filterID As String,
    filterCaption As String,
    ParamArray extensions As String()
)
public FileTypeFilterAttribute(
    string filterID,
    string filterCaption,
    params string[] extensions
)
Public Sub New(
    filterID As String,
    filterCaption As String,
    ParamArray extensions As String()
)

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.

filterCaption String

A string specifying the file type filter description. This parameter's value is assigned to the FileTypeFilterAttribute.FilterCaption 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.

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.

filterCaption String

A string specifying the file type filter description. This parameter's value is assigned to the FileTypeFilterAttribute.FilterCaption 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.

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.

filterCaption String

A string specifying the file type filter description. This parameter's value is assigned to the FileTypeFilterAttribute.FilterCaption 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