Compartir a través de


IVsTextMarkerClient.GetTipText Method

Returns the tip text for the text marker when the mouse hovers over the marker.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaración
Function GetTipText ( _
    pMarker As IVsTextMarker, _
    <OutAttribute> pbstrText As String() _
) As Integer
int GetTipText(
    IVsTextMarker pMarker,
    string[] pbstrText
)
int GetTipText(
    [InAttribute] IVsTextMarker^ pMarker, 
    [OutAttribute] array<String^>^ pbstrText
)
abstract GetTipText : 
        pMarker:IVsTextMarker * 
        pbstrText:string[] byref -> int 
function GetTipText(
    pMarker : IVsTextMarker, 
    pbstrText : String[]
) : int

Parameters

  • pbstrText
    Type: array<System.String[]
    [out] Tip text associated with the marker.

Return Value

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarkerClient::GetTipText(
   [in] IVsTextMarker* pMarker,
   [out, optional] BSTR *pbstrText
);

.NET Framework Security

See Also

Reference

IVsTextMarkerClient Interface

Microsoft.VisualStudio.TextManager.Interop Namespace