Partager via


IVsReadOnlyViewNotification.OnDisabledEditingCommand Method

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)

Syntax

'Déclaration
Function OnDisabledEditingCommand ( _
    ByRef pguidCmdGuid As Guid, _
    dwCmdId As UInteger _
) As Integer
int OnDisabledEditingCommand(
    ref Guid pguidCmdGuid,
    uint dwCmdId
)
int OnDisabledEditingCommand(
    [InAttribute] Guid% pguidCmdGuid, 
    [InAttribute] unsigned int dwCmdId
)
abstract OnDisabledEditingCommand : 
        pguidCmdGuid:Guid byref * 
        dwCmdId:uint32 -> int 
function OnDisabledEditingCommand(
    pguidCmdGuid : Guid, 
    dwCmdId : uint
) : int

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.

.NET Framework Security

See Also

Reference

IVsReadOnlyViewNotification Interface

Microsoft.VisualStudio.TextManager.Interop Namespace