IVsWindowPaneCommit.CommitPendingEdit(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);