Compartilhar via


IVsUIDynamicCollection.InsertCollection(UInt32, IVsUICollection) Method

Definition

Adds a collection to this collection.

public:
 int InsertCollection(System::UInt32 nIndex, Microsoft::VisualStudio::Shell::Interop::IVsUICollection ^ pCollection);
public:
 int InsertCollection(unsigned int nIndex, Microsoft::VisualStudio::Shell::Interop::IVsUICollection ^ pCollection);
int InsertCollection(unsigned int nIndex, Microsoft::VisualStudio::Shell::Interop::IVsUICollection const & pCollection);
public int InsertCollection (uint nIndex, Microsoft.VisualStudio.Shell.Interop.IVsUICollection pCollection);
abstract member InsertCollection : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsUICollection -> int
Public Function InsertCollection (nIndex As UInteger, pCollection As IVsUICollection) As Integer

Parameters

nIndex
UInt32

[in] The position in this collection to insert the new collection.

pCollection
IVsUICollection

[in] The collection to add.

Returns

Returns S_OK if the collection was added.

Applies to