IConsoleVerb

[This is preliminary documentation and subject to change.]

The IConsoleVerb interface allows snap-ins to enable standard verbs including cut, copy, paste, delete, properties, rename, refresh, and print. Whenever an item is selected, the snap-in can update the state of these verbs.

When to Implement

You do not implement this interface. It is implemented by the Microsoft Management Console's node manager.

When to Use

You use IConsoleVerb whenever your snap-in can be enhanced by offering users the ability to perform the standard actions noted above. By default the standard verbs appear on the menus and toolbars disabled. You have the ability to enable, disable, or hide them based on the currently selected item. You should note that hiding is allowed only for scope item selection changes.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IConsoleVerb Methods Description
GetVerbState Gets the state of a verb.
SetVerbState Sets the state of a verb.
SetDefaultVerb
GetDefaultVerb