TaskProvider.IVsTaskProvider3.OnEndTaskEdit Method
Raised when the user finishes editing a task in-place.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaración
Private Function OnEndTaskEdit ( _
item As IVsTaskItem, _
fCommitChanges As Integer, _
<OutAttribute> ByRef fAllowChanges As Integer _
) As Integer Implements IVsTaskProvider3.OnEndTaskEdit
'Uso
Dim instance As TaskProvider
Dim item As IVsTaskItem
Dim fCommitChanges As Integer
Dim fAllowChanges As Integer
Dim returnValue As Integer
returnValue = CType(instance, IVsTaskProvider3).OnEndTaskEdit(item, _
fCommitChanges, fAllowChanges)
int IVsTaskProvider3.OnEndTaskEdit(
IVsTaskItem item,
int fCommitChanges,
out int fAllowChanges
)
private:
virtual int OnEndTaskEdit(
IVsTaskItem^ item,
int fCommitChanges,
[OutAttribute] int% fAllowChanges
) sealed = IVsTaskProvider3::OnEndTaskEdit
private abstract OnEndTaskEdit :
item:IVsTaskItem *
fCommitChanges:int *
fAllowChanges:int byref -> int
private override OnEndTaskEdit :
item:IVsTaskItem *
fCommitChanges:int *
fAllowChanges:int byref -> int
JScript does not support explicit interface implementations.
Parameters
- item
Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskItem
The IVsTaskItem being edited.
- fCommitChanges
Type: System.Int32
true if the user wishes to commit the changes, false if the user wishes to discard them.
- fAllowChanges
Type: System.Int32%
[out] Returns true if the changes have been committed, false to disallow the user from leaving edit mode.
Return Value
Type: System.Int32
S_OK().
Implements
IVsTaskProvider3.OnEndTaskEdit(IVsTaskItem, Int32, Int32%)
Remarks
By default this method sets fAllowChanges to true.
.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.