Share via


IVsLiteTreeEvents.OnInsertItems Method

Counts items that have been inserted after iAfter.

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

Syntax

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

Parameters

  • iAfter
    Type: System.UInt32
    [In] An unsigned integer containing the item index after which the insertion(s) will take place.
  • Count
    Type: System.UInt32
    [In] An unsigned integer containing the Insertion 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::OnInsertItems(
   [in] ULONG iAfter, 
   [in] ULONG Count
);

.NET Framework Security

See Also

Reference

IVsLiteTreeEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace