共用方式為


IVsUIDynamicCollection.InsertCollection Method

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

Syntax

'宣告
Function InsertCollection ( _
    nIndex As UInteger, _
    pCollection As IVsUICollection _
) As Integer
'用途
Dim instance As IVsUIDynamicCollection
Dim nIndex As UInteger
Dim pCollection As IVsUICollection
Dim returnValue As Integer

returnValue = instance.InsertCollection(nIndex, _
    pCollection)
int InsertCollection(
    uint nIndex,
    IVsUICollection pCollection
)
int InsertCollection(
    [InAttribute] unsigned int nIndex, 
    [InAttribute] IVsUICollection^ pCollection
)
abstract InsertCollection : 
        nIndex:uint32 * 
        pCollection:IVsUICollection -> int 
function InsertCollection(
    nIndex : uint, 
    pCollection : IVsUICollection
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsUIDynamicCollection Interface

IVsUIDynamicCollection Members

Microsoft.VisualStudio.Shell.Interop Namespace