Rediger

Del via


IExtendContextMenu.Command(Int32, IDataObject) Method

Definition

The Microsoft Management Console (MMC) calls the Command method when one of the shortcut menu items that you added is selected.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void Command(int lCommandID, Microsoft::Aspnet::Snapin::IDataObject ^ piDataObject);
public void Command (int lCommandID, Microsoft.Aspnet.Snapin.IDataObject piDataObject);
abstract member Command : int * Microsoft.Aspnet.Snapin.IDataObject -> unit
Public Sub Command (lCommandID As Integer, piDataObject As IDataObject)

Parameters

lCommandID
Int32

The command identifier of the menu item.

piDataObject
IDataObject

A pointer to the IDataObject on the object for which the shortcut menu was displayed.

Remarks

For more information about programming with the IExtendContextMenu interface and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.

Applies to