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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應