Udostępnij za pośrednictwem


IVsWindowPaneCommitFilter.IsCommitCommand(Guid, UInt32, Int32) Method

Definition

Indicates whether a command can commit changes.

public:
 int IsCommitCommand(Guid % pguidCmdGroup, System::UInt32 dwCmdID, [Runtime::InteropServices::Out] int % pfCommitCommand);
public int IsCommitCommand (ref Guid pguidCmdGroup, uint dwCmdID, out int pfCommitCommand);
abstract member IsCommitCommand : Guid * uint32 * int -> int
Public Function IsCommitCommand (ByRef pguidCmdGroup As Guid, dwCmdID As UInteger, ByRef pfCommitCommand As Integer) As Integer

Parameters

pguidCmdGroup
Guid

[in] The command group that identifies the command.

dwCmdID
UInt32

[in] The command identifier.

pfCommitCommand
Int32

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

Returns

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  
);  

Applies to