Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
Function OnBeginTaskEdit ( _
pItem As IVsTaskItem _
) As Integer
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.