IVsSwatchClient.GetCellTooltip(Int32, Int32, String) 方法

定义

从 Visual Studio 2010,此接口已弃用。 Visual Studio shell 不再识别此接口。

public:
 int GetCellTooltip(int x, int y, [Runtime::InteropServices::Out] System::String ^ % pbstrTooltip);
int GetCellTooltip(int x, int y, [Runtime::InteropServices::Out] std::wstring const & & pbstrTooltip);
public int GetCellTooltip (int x, int y, out string pbstrTooltip);
abstract member GetCellTooltip : int * int * string -> int
Public Function GetCellTooltip (x As Integer, y As Integer, ByRef pbstrTooltip As String) As Integer

参数

x
Int32
y
Int32
pbstrTooltip
String

弄指向字符串的指针。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell:

HRESULT IVsSwatchClient::GetCellTooltip(  
   [in] int x,   
   [in] int y,   
   [out, retval] BSTR *pbstrTooltip  
);  

适用于