Share via


IVsWindowPaneCommitFilter.IsCommitCommand Method

Indicates whether a command can commit changes.

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

Syntax

'Declaration
Function IsCommitCommand ( _
    ByRef pguidCmdGroup As Guid, _
    dwCmdID As UInteger, _
    <OutAttribute> ByRef pfCommitCommand As Integer _
) As Integer
int IsCommitCommand(
    ref Guid pguidCmdGroup,
    uint dwCmdID,
    out int pfCommitCommand
)
int IsCommitCommand(
    [InAttribute] Guid% pguidCmdGroup, 
    [InAttribute] unsigned int dwCmdID, 
    [OutAttribute] int% pfCommitCommand
)
abstract IsCommitCommand : 
        pguidCmdGroup:Guid byref * 
        dwCmdID:uint32 * 
        pfCommitCommand:int byref -> int
function IsCommitCommand(
    pguidCmdGroup : Guid, 
    dwCmdID : uint, 
    pfCommitCommand : int
) : int

Parameters

  • pguidCmdGroup
    Type: System.Guid%

    [in] The command group that identifies the command.

  • pfCommitCommand
    Type: System.Int32%

    [out] Indicates whether this is a commit command. If true, it is a commit command.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsWindowPaneCommitFilter::IsCommitCommand(
   [in] REFGUID pguidCmdGroup, 
   [in] DWORD dwCmdID, 
   [out] BOOL *pfCommitCommand
);

.NET Framework Security

See Also

Reference

IVsWindowPaneCommitFilter Interface

Microsoft.VisualStudio.Shell.Interop Namespace