次の方法で共有


IVsSelectedSymbols.GetItem(UInt32, IVsSelectedSymbol) Method

Definition

Gets the selected symbol from the location in the collection specified by the item number.

public:
 int GetItem(System::UInt32 iItem, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSelectedSymbol ^ % ppIVsSelectedSymbol);
public:
 int GetItem(unsigned int iItem, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSelectedSymbol ^ &  ppIVsSelectedSymbol);
int GetItem(unsigned int iItem, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSelectedSymbol const & & ppIVsSelectedSymbol);
public int GetItem (uint iItem, out Microsoft.VisualStudio.Shell.Interop.IVsSelectedSymbol ppIVsSelectedSymbol);
abstract member GetItem : uint32 * IVsSelectedSymbol -> int
Public Function GetItem (iItem As UInteger, ByRef ppIVsSelectedSymbol As IVsSelectedSymbol) As Integer

Parameters

iItem
UInt32

[in] The location from which to retrieve the selected symbel

ppIVsSelectedSymbol
IVsSelectedSymbol

[out] The selected symbol.

Returns

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  
);  

Applies to