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.11.0 (in Microsoft.VisualStudio.Shell.11.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: System.UInt32[in] The 0 based index of the item to delete.
Return Value
Type: System.Int32
Returns S_OK if the item was deleted.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.