IVsSelectedSymbols.GetItem Method
Gets the selected symbol from the location in the collection specified by the item number.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetItem ( _
iItem As UInteger, _
<OutAttribute> ByRef ppIVsSelectedSymbol As IVsSelectedSymbol _
) As Integer
int GetItem(
uint iItem,
out IVsSelectedSymbol ppIVsSelectedSymbol
)
int GetItem(
[InAttribute] unsigned int iItem,
[OutAttribute] IVsSelectedSymbol^% ppIVsSelectedSymbol
)
abstract GetItem :
iItem:uint32 *
ppIVsSelectedSymbol:IVsSelectedSymbol byref -> int
function GetItem(
iItem : uint,
ppIVsSelectedSymbol : IVsSelectedSymbol
) : int
Parameters
iItem
Type: UInt32[in] The location from which to retrieve the selected symbel
ppIVsSelectedSymbol
Type: Microsoft.VisualStudio.Shell.Interop.IVsSelectedSymbol%[out] The selected symbol.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsSelectedSymbols::GetItem(
[in] ULONG iItem,
[out] IVsSelectedSymbol **ppIVsSelectedSymbol
);
.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.