UIDataSourceCollection.GetItem Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Function GetItem ( _
nItem As UInteger, _
<OutAttribute> ByRef pVsUIDataSource As IVsUIDataSource _
) As Integer
'Utilisation
Dim instance As UIDataSourceCollection
Dim nItem As UInteger
Dim pVsUIDataSource As IVsUIDataSource
Dim returnValue As Integer
returnValue = instance.GetItem(nItem, _
pVsUIDataSource)
public int GetItem(
uint nItem,
out IVsUIDataSource pVsUIDataSource
)
public:
virtual int GetItem(
unsigned int nItem,
[OutAttribute] IVsUIDataSource^% pVsUIDataSource
) sealed
abstract GetItem :
nItem:uint32 *
pVsUIDataSource:IVsUIDataSource byref -> int
override GetItem :
nItem:uint32 *
pVsUIDataSource:IVsUIDataSource byref -> int
public final function GetItem(
nItem : uint,
pVsUIDataSource : IVsUIDataSource
) : int
Parameters
- nItem
Type: System.UInt32
- pVsUIDataSource
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource%
Return Value
Type: System.Int32
Implements
IVsUICollection.GetItem(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.