This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IG > IGxFileFilter Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that manage a file filter for various file types.
The GxFileFilter object implements the IGxFileFilter interface. It lets you manipulate the file types displayed by ArcCatalog. Through this interface, you can add additional file types to the filter, remove file types, and determine whether or not a particular file will be displayed.
The Filter method returns a Boolean that indicates whether or not the specified file will be displayed in ArcCatalog based on the current file filter.
The FindFileType method returns an index that indicates the position of the specified file extension within the filter list. A value of -1 indicates the extension was not found. Do not include the “.” when passing in the extension.
Description | ||
---|---|---|
AddFileType | Add the file type to the collection. | |
DeleteFileType | Remove the file type. | |
FileTypeCount | The number of file types for the filter. | |
Filter | Checks to see if the indicated file passes the filter. | |
FindFileType | The index of the file type in the filter or -1. | |
GetFileType | Returns information on the file type at the specified index in the file filter. |
CoClasses and Classes | Description |
---|---|
GxFileFilter | The catalog's file filter. |