Share via


FileDialogFilter Interface 

Represents a file filter in a file dialog box displayed through the FileDialog object.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Public Class ileDialogFilterImplementation
    Implements FileDialogFilter
End Class
Dim ileDialogFilterImplementation1 As New ileDialogFilterImplementation()

Syntax

Public Interface FileDialogFilter
    Inherits _IMsoDispObj
public interface FileDialogFilter : _IMsoDispObj
public interface class FileDialogFilter : public _IMsoDispObj
public interface FileDialogFilter implements _IMsoDispObj
public interface FileDialogFilter implements _IMsoDispObj

Remarks

Each file filter determines which files are displayed in the file dialog box.

Use the Item method with the FileDialogFilters collection to return a FileDialogFilter object. Use the Add method to add a FileDialogFilter object to the FileDialogFilters collection. You can return the extensions that a FileDialogFilter object uses to filter files with the Extensions property, and you can return the description of the filter with the Description property; however, both of these properties are read-only. If you want to set the extension or description, you must use the Add method.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Core Namespace

Other Resources

FileDialogFilter Members