共用方式為


IVsNavigationTool.GetSelectedSymbols(IVsSelectedSymbols) Method

Definition

Get the symbols selected in the object or class browser.

public:
 int GetSelectedSymbols([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSelectedSymbols ^ % ppIVsSelectedSymbols);
public:
 int GetSelectedSymbols([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSelectedSymbols ^ &  ppIVsSelectedSymbols);
int GetSelectedSymbols([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSelectedSymbols const & & ppIVsSelectedSymbols);
public int GetSelectedSymbols (out Microsoft.VisualStudio.Shell.Interop.IVsSelectedSymbols ppIVsSelectedSymbols);
abstract member GetSelectedSymbols : IVsSelectedSymbols -> int
Public Function GetSelectedSymbols (ByRef ppIVsSelectedSymbols As IVsSelectedSymbols) As Integer

Parameters

ppIVsSelectedSymbols
IVsSelectedSymbols

[out] Pointer to an IVsSelectedSymbols interface providing access to the selected symbols.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsNavigationTool::GetSelectedSymbols(  
   [out] IVsSelectedSymbols **ppIVsSelectedSymbols  
);  

Applies to