FileDialogFilter Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a file filter in a file dialog box displayed through the FileDialog object.
public interface class FileDialogFilter : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0364-0000-0000-C000-000000000046")]
public interface FileDialogFilter : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C0364-0000-0000-C000-000000000046")>]
type FileDialogFilter = interface
interface _IMsoDispObj
Public Interface FileDialogFilter
Implements _IMsoDispObj
- Attributes
- Implements
Remarks
Each file filter determines which files are displayed in the file dialog box.
Use the Item(Int32) method with the FileDialogFilters collection to return a FileDialogFilter object. Use the Add(String, String, Object) 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.
Properties
Application |
Returns an Application object that represents the container application for the object. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
Description |
Returns the description of each FileDialogFilter object as a String value. |
Extensions |
Returns a String value containing the extensions that determine which files are displayed in a File dialog box for each FileDialogFilter object. |
Parent |
Returns the Parent object for the specified object. |
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin