IVsSelectedSymbols.GetItem(UInt32, IVsSelectedSymbol) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从由项编号指定的集合中的位置获取选定的符号。
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
参数
- iItem
- UInt32
中要从中检索所选 symbel 的位置
- ppIVsSelectedSymbol
- IVsSelectedSymbol
弄选定的符号。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell80:
HRESULT IVsSelectedSymbols::GetItem(
[in] ULONG iItem,
[out] IVsSelectedSymbol **ppIVsSelectedSymbol
);