Partager via


IVsSccManagerTooltip.GetGlyphTipText Method

Provides ToolTip text based on the source control data for a specific node in the project's hierarchy Solution Explorer.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetGlyphTipText ( _
    phierHierarchy As IVsHierarchy, _
    itemidNode As UInteger, _
    <OutAttribute> ByRef pbstrTooltipText As String _
) As Integer
int GetGlyphTipText(
    IVsHierarchy phierHierarchy,
    uint itemidNode,
    out string pbstrTooltipText
)
int GetGlyphTipText(
    [InAttribute] IVsHierarchy^ phierHierarchy, 
    [InAttribute] unsigned int itemidNode, 
    [OutAttribute] String^% pbstrTooltipText
)
abstract GetGlyphTipText : 
        phierHierarchy:IVsHierarchy * 
        itemidNode:uint32 * 
        pbstrTooltipText:string byref -> int
function GetGlyphTipText(
    phierHierarchy : IVsHierarchy, 
    itemidNode : uint, 
    pbstrTooltipText : String
) : int

Parameters

  • itemidNode
    Type: UInt32

    [in] The ID of the node for which the ToolTip is requested.

  • pbstrTooltipText
    Type: String%

    [out] ToolTip text.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From ivssccmanagertooltip.idl

HRESULT GetGlyphTipText(
   [in] IVsHierarchy *phierHierarchy,
   [in] VSITEMID itemidNode,
   [out, retval] BSTR *pbstrTooltipText
);

This method provides the text for the ToolTip of a source control glyph. The glyph is drawn to the left of the file icon in Solution Explorer, and it indicates the source control status of a file.

.NET Framework Security

See Also

Reference

IVsSccManagerTooltip Interface

Microsoft.VisualStudio.Shell.Interop Namespace