FileDialogFilters Interface

A collection of FileDialogFilter objects that represent the types of files that can be selected in a file dialog box that is displayed using the FileDialog object.

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

[GuidAttribute("000C0365-0000-0000-C000-000000000046")]
public interface FileDialogFilters : _IMsoDispObj, 
	IEnumerable

Use the Filters property of the FileDialog object to return a FileDialogFilters collection.

Use the Add method to add FileDialogFilter objects to the FileDialogFilters collection.

When changing the FileDialogFilters collection, remember that each application can only instantiate a single FileDialog object. This means that the FileDialogFilters collection will reset to its default filters whenever you call the FileDialog method with a new dialog box type.

Note   A run-time error will occur if the Filters property is used in conjunction with the Clear, Add, or Delete methods when applied to a Save As FileDialog object.

Community Additions

ADD
Show:
© 2014 Microsoft