Compartilhar via


IVsWindowPaneCommit.CommitPendingEdit(Int32) Method

Definition

Allows a window to commit pending edits in a control with focus before another command is invoked.

public:
 int CommitPendingEdit([Runtime::InteropServices::Out] int % pfCommitFailed);
int CommitPendingEdit([Runtime::InteropServices::Out] int & pfCommitFailed);
public int CommitPendingEdit (out int pfCommitFailed);
abstract member CommitPendingEdit : int -> int
Public Function CommitPendingEdit (ByRef pfCommitFailed As Integer) As Integer

Parameters

pfCommitFailed
Int32

[out] Indicates whether the commit failed. Set to true if the commit failed.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsWindowPaneCommit::CommitPendingEdit(  
   [out] BOOL *pfCommitFailed  
);  

Applies to