UIDataSourceDynamicCollection.InsertItem Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Overridable Function InsertItem ( _
nIndex As UInteger, _
pItem As IVsUIDataSource _
) As Integer
'Utilisation
Dim instance As UIDataSourceDynamicCollection
Dim nIndex As UInteger
Dim pItem As IVsUIDataSource
Dim returnValue As Integer
returnValue = instance.InsertItem(nIndex, _
pItem)
public virtual int InsertItem(
uint nIndex,
IVsUIDataSource pItem
)
public:
virtual int InsertItem(
unsigned int nIndex,
IVsUIDataSource^ pItem
)
abstract InsertItem :
nIndex:uint32 *
pItem:IVsUIDataSource -> int
override InsertItem :
nIndex:uint32 *
pItem:IVsUIDataSource -> int
public function InsertItem(
nIndex : uint,
pItem : IVsUIDataSource
) : int
Parameters
- nIndex
Type: System.UInt32
Return Value
Type: System.Int32
Implements
IVsUIDynamicCollection.InsertItem(UInt32, IVsUIDataSource)
.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.
See Also
Reference
UIDataSourceDynamicCollection Class