MenuCommandService Methods

MenuCommandService Methods

 

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

NameDescription
System_CAPS_pubmethodAddCommand(MenuCommand)

Adds a command handler to the menu command service.

System_CAPS_pubmethodAddVerb(DesignerVerb)

Adds a verb to the verb table of the MenuCommandService.

System_CAPS_pubmethodDispose()

Releases all resources used by the MenuCommandService.

System_CAPS_protmethodDispose(Boolean)

Releases all resources used by the MenuCommandService.

System_CAPS_protmethodEnsureVerbs()

Ensures that the verb list has been created.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFindCommand(CommandID)

Searches for the MenuCommand associated with the given command ID.

System_CAPS_protmethodFindCommand(Guid, Int32)

Searches for the MenuCommand associated with the given command.

System_CAPS_protmethodGetCommandList(Guid)

Gets the command list for a given GUID.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetService(Type)

Gets a reference to the requested service.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGlobalInvoke(CommandID)

Invokes the given command on the local form or in the global environment.

System_CAPS_pubmethodGlobalInvoke(CommandID, Object)

Invokes the given command with the given parameter on the local form or in the global environment.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnCommandsChanged(MenuCommandsChangedEventArgs)

Raises the MenuCommandsChanged event.

System_CAPS_pubmethodRemoveCommand(MenuCommand)

Removes the given menu command from the document.

System_CAPS_pubmethodRemoveVerb(DesignerVerb)

Removes the given verb from the document.

System_CAPS_pubmethodShowContextMenu(CommandID, Int32, Int32)

Shows the shortcut menu with the given command ID at the given location.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show:
© 2016 Microsoft