次の方法で共有


IVsUICollection.GetItem 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

'宣言
Function GetItem ( _
    nItem As UInteger, _
    <OutAttribute> ByRef pVsUIDataSource As IVsUIDataSource _
) As Integer
'使用
Dim instance As IVsUICollection
Dim nItem As UInteger
Dim pVsUIDataSource As IVsUIDataSource
Dim returnValue As Integer

returnValue = instance.GetItem(nItem, _
    pVsUIDataSource)
int GetItem(
    uint nItem,
    out IVsUIDataSource pVsUIDataSource
)
int GetItem(
    [InAttribute] unsigned int nItem, 
    [OutAttribute] IVsUIDataSource^% pVsUIDataSource
)
abstract GetItem : 
        nItem:uint32 * 
        pVsUIDataSource:IVsUIDataSource byref -> int 
function GetItem(
    nItem : uint, 
    pVsUIDataSource : IVsUIDataSource
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsUICollection Interface

IVsUICollection Members

Microsoft.VisualStudio.Shell.Interop Namespace