Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an item from the collection.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function GetItem ( _
nItem As UInteger, _
<OutAttribute> ByRef pVsUIDataSource As IVsUIDataSource _
) As Integer
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
- nItem
Type: System.UInt32
[in] 0 based index of the item to return
- pVsUIDataSource
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource%
[out] Location to return the requested item.
Return Value
Type: System.Int32
Returns S_OK if the item was returned.
.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.