共用方式為


UIDataSourceDynamicCollection.AddItem Method (IVsUIDataSource, UInt32%)

Microsoft internal use only.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Overridable Function AddItem ( _
    pItem As IVsUIDataSource, _
    <OutAttribute> ByRef pIndex As UInteger _
) As Integer
public virtual int AddItem(
    IVsUIDataSource pItem,
    out uint pIndex
)

Parameters

  • pIndex
    Type: System.UInt32%
    The 0-based index of the item in the collection

Return Value

Type: System.Int32

Implements

IVsUIDynamicCollection.AddItem(IVsUIDataSource, UInt32%)

.NET Framework Security

See Also

Reference

UIDataSourceDynamicCollection Class

AddItem Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace