IVsSwatchClient.GetCellTooltip(Int32, Int32, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从 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
弄指向字符串的指针。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell:
HRESULT IVsSwatchClient::GetCellTooltip(
[in] int x,
[in] int y,
[out, retval] BSTR *pbstrTooltip
);