IVsSelectedSymbols::GetItem Method (UInt32, IVsSelectedSymbol^)

 

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)

int GetItem(
	unsigned int iItem,
	[OutAttribute] IVsSelectedSymbol^% ppIVsSelectedSymbol
)

Parameters

iItem
Type: System::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: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell80.idl:

HRESULT IVsSelectedSymbols::GetItem(
   [in] ULONG iItem, 
   [out] IVsSelectedSymbol **ppIVsSelectedSymbol
);
Return to top
Show: