Partager via


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

'Declaration
Function OnDeleteItems ( _
    iStart As UInteger, _
    Count As UInteger _
) As Integer
int OnDeleteItems(
    uint iStart,
    uint Count
)
int OnDeleteItems(
    [InAttribute] unsigned int iStart, 
    [InAttribute] unsigned int Count
)
abstract OnDeleteItems : 
        iStart:uint32 * 
        Count:uint32 -> int
function OnDeleteItems(
    iStart : uint, 
    Count : uint
) : int

Parameters

  • iStart
    Type: UInt32

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

  • Count
    Type: UInt32

    [In] An unsigned integer containing the Deletion Count.

Return Value

Type: 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
);

.NET Framework Security

See Also

Reference

IVsLiteTreeEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace