Dialogs 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.
A collection of all the Dialog objects in Microsoft Excel.
public interface class Dialogs : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020879-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Dialogs : System.Collections.IEnumerable
Public Interface Dialogs
Implements IEnumerable
- Attributes
- Implements
Remarks
Each Dialog object represents a built-in dialog box. You cannot create a new built-in dialog box or add one to the collection. The only useful thing you can do with a Dialog object is use it with the Show(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) method to display the dialog corresponding dialog box.
Use the Dialogs property to return the Dialogs collection.
Use Dialogs(index
), where index
is a built-in constant identifying the dialog box, to return a single Dialog object.
Microsoft Excel includes built-in constants for many of the built-in dialog boxes. Each constant is formed from the prefix "xlDialog" followed by the name of the dialog box. For example, the Apply Names dialog box constant is xlDialogApplyNames, and the Find File dialog box constant is xlDialogFindFile. These constants are members of the XlBuiltInDialog enumerated type.
Properties
_Default[XlBuiltInDialog] |
Reserved for internal use. |
Application |
Returns an Application object that represents the Microsoft Excel application. |
Count |
Returns the number of objects in the collection. |
Creator |
Returns a 32-bit integer that indicates the application in which this object was created. |
Item[XlBuiltInDialog] |
Returns a single object from a collection. |
Parent |
Returns the parent object for the specified object. |
Methods
GetEnumerator() |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기