Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Commits any changes made to the file.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Declaration
Public Overrides Function CommitPendingEdit ( _
<OutAttribute> ByRef fCommitFailed As Integer _
) As Integer
'Usage
Dim instance As EditorControl
Dim fCommitFailed As Integer
Dim returnValue As Integer
returnValue = instance.CommitPendingEdit(fCommitFailed)
public override int CommitPendingEdit(
out int fCommitFailed
)
public:
virtual int CommitPendingEdit(
[OutAttribute] int% fCommitFailed
) override
abstract CommitPendingEdit :
fCommitFailed:int byref -> int
override CommitPendingEdit :
fCommitFailed:int byref -> int
public override function CommitPendingEdit(
fCommitFailed : int
) : int
Parameters
- fCommitFailed
Type: System.Int32%
[out] Returns true if the changes could not be committed.
Return Value
Type: System.Int32
S_OK if the method succeeded, otherwise an error code.
Implements
IVsWindowPaneCommit.CommitPendingEdit(Int32%)
Remarks
By default this method returns S_OK and sets fCommitFailed to false. This method should be implemented by derived classes. The environment calls CommitPendingEdit before any command is executed; for example, this allows a window to commit pending edits in a control with focus before another command is invoked.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.