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 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기