共用方式為


IVsTextMarker.GetTipText Method

Returns the text to display in a tip for the marker type.

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

Syntax

'宣告
Function GetTipText ( _
    <OutAttribute> pbstrText As String() _
) As Integer
int GetTipText(
    string[] pbstrText
)
int GetTipText(
    [OutAttribute] array<String^>^ pbstrText
)
abstract GetTipText : 
        pbstrText:string[] byref -> int 
function GetTipText(
    pbstrText : String[]
) : int

Parameters

  • pbstrText
    Type: array<System.String[]
    [out] Pointer to the string containing the tip text for the marker type.

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 IVsTextMarker::GetTipText(
   [out, optional] BSTR *pbstrText
);

.NET Framework Security

See Also

Reference

IVsTextMarker Interface

Microsoft.VisualStudio.TextManager.Interop Namespace