Condividi tramite


IVsReadOnlyViewNotification.OnDisabledEditingCommand(Guid, UInt32) Method

Definition

Notifies that the view is read-only and editing commands are disabled.

public:
 int OnDisabledEditingCommand(Guid % pguidCmdGuid, System::UInt32 dwCmdId);
public int OnDisabledEditingCommand (ref Guid pguidCmdGuid, uint dwCmdId);
abstract member OnDisabledEditingCommand : Guid * uint32 -> int
Public Function OnDisabledEditingCommand (ByRef pguidCmdGuid As Guid, dwCmdId As UInteger) As Integer

Parameters

pguidCmdGuid
Guid

[in] GUID of the editing command.

dwCmdId
UInt32

[in] Command ID of the editing command.

Returns

Returns S_OK if the method succeeds; otherwise, returns an error code.

Applies to