UIDataSourceDynamicCollection::AddItem Method (IVsUIDataSource, UInt32%)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Microsoft internal use only.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
public: virtual int AddItem( IVsUIDataSource^ pItem, [OutAttribute] unsigned int% pIndex )
Parameters
- pItem
- Type: Microsoft.VisualStudio.Shell.Interop::IVsUIDataSource
The item to be added
- pIndex
- Type: System::UInt32%
The 0-based index of the item in the collection
Implements
IVsUIDynamicCollection::AddItem(IVsUIDataSource, UInt32%)- 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.
Show: