IVsSimplePreviewChangesList.GetTipTextWithOwnership(UInt32, VSTREETOOLTIPTYPE, String) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Retorna o texto da dica de ferramenta para o item especificado na lista de visualização.
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
Parâmetros
- index
- UInt32
no O índice do item para o qual obter o texto da dica de ferramenta.
- eTipType
- VSTREETOOLTIPTYPE
no Um valor da VSTREETOOLTIPTYPE enumeração que especifica o tipo de texto de dica de ferramenta a ser retornado.
- pbstrText
- String
fora Retorna uma cadeia de caracteres que contém o texto da dica de ferramenta.
Retornos
f o método é executado com sucesso, retorna S_OK . Se falhar, retornará um código de erro.
Comentários
Assinatura COM
De vsshell80. idl:
HRESULT IVsSimplePreviewChangesList::GetTipTextWithOwnership(
[in] ULONG Index,
[in] VSTREETOOLTIPTYPE eTipType,
[out] BSTR *ppszText
);