IVsUIDynamicCollection.InsertCollection(UInt32, IVsUICollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.