Compartir a través de


IVsUIDynamicCollection.RemoveItem Method

Remove an item from the collection.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Function RemoveItem ( _
    nIndex As UInteger _
) As Integer
int RemoveItem(
    uint nIndex
)
int RemoveItem(
    [InAttribute] unsigned int nIndex
)
abstract RemoveItem : 
        nIndex:uint32 -> int
function RemoveItem(
    nIndex : uint
) : int

Parameters

  • nIndex
    Type: UInt32

    [in] The 0 based index of the item to delete.

Return Value

Type: Int32
Returns S_OK if the item was deleted.

.NET Framework Security

See Also

Reference

IVsUIDynamicCollection Interface

Microsoft.VisualStudio.Shell.Interop Namespace