KeysBoundTo 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 KeyBinding objects assigned to a command, style, macro, or other item in the current context.
public interface class KeysBoundTo : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020997-0000-0000-C000-000000000046")]
public interface KeysBoundTo : System.Collections.IEnumerable
type KeysBoundTo = interface
interface IEnumerable
Public Interface KeysBoundTo
Implements IEnumerable
- Attributes
- Implements
Remarks
Use the KeysBoundTo[WdKeyCategory, String, Object] property to return the KeysBoundTo collection.
Properties
Application |
Returns a Application object that represents the Microsoft Word application. |
Command |
Returns the command assigned to the specified key combination. |
CommandParameter |
Returns the command parameter assigned to the specified shortcut key. |
Context |
Returns an object that represents the storage location of the specified key binding. This property can return a Document, Template, or Application object. |
Count |
Returns the number of items in the specified collection. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
Item[Int32] |
Returns an individual object in a collection. |
KeyCategory |
Returns the type of item assigned to the specified key binding. |
Parent |
Returns an object that represents the parent object of the specified object. |
Methods
GetEnumerator() | |
Key(Int32, Object) |
Returns a KeyBinding object that represents the specified custom key combination. If the key combination doesn't exist, this method returns Nothing. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應