IVsLiteTreeEvents.OnDeleteItems Method

Counts items that have been deleted starting with iStart.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
Function OnDeleteItems ( _
    iStart As UInteger, _
    Count As UInteger _
) As Integer
'使用
Dim instance As IVsLiteTreeEvents
Dim iStart As UInteger
Dim Count As UInteger
Dim returnValue As Integer

returnValue = instance.OnDeleteItems(iStart, _
    Count)
int OnDeleteItems(
    uint iStart,
    uint Count
)
int OnDeleteItems(
    [InAttribute] unsigned int iStart, 
    [InAttribute] unsigned int Count
)
function OnDeleteItems(
    iStart : uint, 
    Count : uint
) : int

Parameters

  • iStart
    Type: System.UInt32

    [In] An unsigned integer containing the start item of the deletion.

  • Count
    Type: System.UInt32

    [In] An unsigned integer containing the Deletion Count.

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 vsshell.idl:

HRESULT IVsLiteTreeEvents::OnDeleteItems(
   [in] ULONG iStart, 
   [in] ULONG Count
);

Permissions

See Also

Reference

IVsLiteTreeEvents Interface

IVsLiteTreeEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace