IVsSimplePreviewChangesList.GetTipTextWithOwnership(UInt32, VSTREETOOLTIPTYPE, String) Метод

Определение

Возвращает текст подсказки для указанного элемента в списке предварительного просмотра.

public:
 int GetTipTextWithOwnership(System::UInt32 index, Microsoft::VisualStudio::Shell::Interop::VSTREETOOLTIPTYPE eTipType, [Runtime::InteropServices::Out] System::String ^ % pbstrText);
int GetTipTextWithOwnership(unsigned int index, Microsoft::VisualStudio::Shell::Interop::VSTREETOOLTIPTYPE eTipType, [Runtime::InteropServices::Out] std::wstring const & & pbstrText);
public int GetTipTextWithOwnership (uint index, Microsoft.VisualStudio.Shell.Interop.VSTREETOOLTIPTYPE eTipType, out string pbstrText);
abstract member GetTipTextWithOwnership : uint32 * Microsoft.VisualStudio.Shell.Interop.VSTREETOOLTIPTYPE * string -> int
Public Function GetTipTextWithOwnership (index As UInteger, eTipType As VSTREETOOLTIPTYPE, ByRef pbstrText As String) As Integer

Параметры

index
UInt32

[in] Индекс элемента, для которого необходимо получить подсказку.

eTipType
VSTREETOOLTIPTYPE

[in] Значение из перечисления VSTREETOOLTIPTYPE, указывающее, какой тип текста подсказки необходимо возвращать.

pbstrText
String

[out] Возвращает строку, содержащую текст подсказки.

Возвращаемое значение

Int32

Если метод завершается успешно, он возвращает S_OK. В противном случае функция возвращает код ошибки.

Комментарии

Подпись COM

Из vsshell80. IDL:

HRESULT IVsSimplePreviewChangesList::GetTipTextWithOwnership(  
   [in]  ULONG               Index,   
   [in]  VSTREETOOLTIPTYPE   eTipType,   
   [out] BSTR               *ppszText  
);  

Применяется к