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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應