共用方式為


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

'宣告
Function OnInsertItems ( _
    iAfter As UInteger, _
    Count As UInteger _
) As Integer
'用途
Dim instance As IVsLiteTreeEvents
Dim iAfter As UInteger
Dim Count As UInteger
Dim returnValue As Integer

returnValue = instance.OnInsertItems(iAfter, _
    Count)
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

IVsLiteTreeEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace