IVsUIDynamicCollection.AddItem Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Function AddItem ( _
pItem As IVsUIDataSource, _
<OutAttribute> ByRef pIndex As UInteger _
) As Integer
'Utilisation
Dim instance As IVsUIDynamicCollection
Dim pItem As IVsUIDataSource
Dim pIndex As UInteger
Dim returnValue As Integer
returnValue = instance.AddItem(pItem, _
pIndex)
int AddItem(
IVsUIDataSource pItem,
out uint pIndex
)
int AddItem(
[InAttribute] IVsUIDataSource^ pItem,
[OutAttribute] unsigned int% pIndex
)
abstract AddItem :
pItem:IVsUIDataSource *
pIndex:uint32 byref -> int
function AddItem(
pItem : IVsUIDataSource,
pIndex : uint
) : int
Parameters
- pIndex
Type: System.UInt32%
Return Value
Type: System.Int32
.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
IVsUIDynamicCollection Interface