IVsTaskProvider3.OnBeginTaskEdit Method
Called when the user begins editing a task in-place. Providers may want to avoid scrolling the tasklist or changing the selection during editing, since these actions can force in-place edit mode to be canceled abruptly.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
‘선언
Function OnBeginTaskEdit ( _
pItem As IVsTaskItem _
) As Integer
‘사용 방법
Dim instance As IVsTaskProvider3
Dim pItem As IVsTaskItem
Dim returnValue As Integer
returnValue = instance.OnBeginTaskEdit(pItem)
int OnBeginTaskEdit(
IVsTaskItem pItem
)
int OnBeginTaskEdit(
[InAttribute] IVsTaskItem^ pItem
)
abstract OnBeginTaskEdit :
pItem:IVsTaskItem -> int
function OnBeginTaskEdit(
pItem : IVsTaskItem
) : int
Parameters
- pItem
Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskItem
[in] A pointer to an object of type IVsTaskItem.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsTaskProvider3::OnBeginTaskEdit(
[in] IVsTaskItem* pItem
);
.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.