Skip to main content

FileTypeFilterAttribute Constructors

Specifies a file type filter in the Open dialog’s “Files of type” box. You can apply this attribute to file data business classes, interfaces, and their properties in ASP.NET Core Blazor and Windows Forms applications.
Name Parameters Description
FileTypeFilterAttribute(String, Int32, String[]) filterID, index, extensions Initializes a new instance of the FileTypeFilterAttribute.
FileTypeFilterAttribute(String, String, Int32, String[]) filterID, filterCaption, index, extensions Initializes a new instance of the FileTypeFilterAttribute.
FileTypeFilterAttribute(String, String, String[]) filterID, filterCaption, extensions Initializes a new instance of the FileTypeFilterAttribute.
FileTypeFilterAttribute(String, String[]) filterID, extensions Initializes a new instance of the FileTypeFilterAttribute.
See Also