IVsReadOnlyViewNotification::OnDisabledEditingCommand Method (Guid, UInt32)

 

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

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int OnDisabledEditingCommand(
	[InAttribute] Guid% pguidCmdGuid,
	unsigned int dwCmdId
)

Parameters

pguidCmdGuid
Type: System::Guid

[in] GUID of the editing command.

dwCmdId
Type: System::UInt32

[in] Command ID of the editing command.

Return Value

Type: System::Int32

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

Return to top
Show: